Skip to content

Commit

Permalink
travis: simplify build script
Browse files Browse the repository at this point in the history
The --verbose flag seems to mostly make the output unreadable and has
thus been removed.

The caching might have made things faster, but it increases the risk
of us failing to spot problems when our dependencies are updated.

Putting the "cargo build" into the install script means that Travis
will hide the output by default. This lets us focus on the tests.
  • Loading branch information
mgeisler committed Apr 18, 2020
1 parent 851905b commit 6d67772
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ rust:
- stable
- nightly

cache: cargo
install:
- cargo build --all-features

script:
- cargo build --verbose --all-features
- cargo test --verbose --all-features
- cargo test --all-features
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then cargo build --benches; fi

0 comments on commit 6d67772

Please sign in to comment.