fix(travis): actually it should already work this way

travis-cargo knows travis, and does the right thing.
We only want to be sure to run on one platform only.
This commit is contained in:
Sebastian Thiel
2016-05-25 11:21:47 +02:00
parent d1189d98da
commit 9283db022d

View File

@@ -15,13 +15,12 @@ matrix:
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH
script:
- export
- 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_OS_NAME = linux ]] && travis-cargo --only stable doc-upload"
- "[[ $TRAVIS_OS_NAME = linux ]] && travis-cargo --only stable coveralls"
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""