Skip to content

Commit

Permalink
fix(travis): actually it should already work this way
Browse files Browse the repository at this point in the history
travis-cargo knows travis, and does the right thing.
We only want to be sure to run on one platform only.
  • Loading branch information
Byron committed May 25, 2016
1 parent d1189d9 commit 9283db0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down

0 comments on commit 9283db0

Please sign in to comment.