Skip to content

Commit

Permalink
Fix Travis script to fail the build if error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
oherrala committed Jan 3, 2018
1 parent a124f73 commit 683993f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH

script:
- |
travis-cargo build &&
travis-cargo test &&
travis-cargo bench
travis-cargo --only stable doc
- travis-cargo build
- travis-cargo test
- travis-cargo bench
- travis-cargo --only stable doc

after_success:
- travis-cargo coveralls --no-sudo
Expand Down

0 comments on commit 683993f

Please sign in to comment.