chore(travis): possibly fix configuration

Based on the help provided by the travis support team,
this one might actually work.
However, while changing the file I realized that I didn't
provide all information they would need, so I merged their
solution into the existing one.
This commit is contained in:
Sebastian Thiel
2016-05-25 08:50:21 +02:00
parent 2fe535c9d6
commit ceb013103a

View File

@@ -4,26 +4,30 @@ os:
- linux
- osx
rust:
- stable
- nightly
- stable
- nightly
env:
- FEATURE=with-syntex
- FEATURE=nightly
matrix:
exclude:
- rust: stable
env: FEATURE=nightly
include:
- rust: stable
# make doc-upload and coveralls work on stable only
env: TRAVIS_RUST_VERSION=stable FEATURE=with-syntex
- rust: nightly
env: FEATURE=nightly
allow_failures:
- os: osx
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH
script:
- travis-cargo build -- --features $FEATURE --no-default-features
- travis-cargo test -- --features $FEATURE --no-default-features
- travis-cargo doc -- --features $FEATURE --no-default-features
- travis-cargo build -- --features $FEATURE --no-default-features
- travis-cargo test -- --features $FEATURE --no-default-features
- travis-cargo doc -- --features $FEATURE --no-default-features
after_success:
- travis-cargo --only stable doc-upload
- travis-cargo --only stable coveralls
- travis-cargo --only stable doc-upload
- travis-cargo --only stable coveralls
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""