Skip to content

Commit

Permalink
Speed up travis by using release mode
Browse files Browse the repository at this point in the history
before we built in debug mode for testing,
but then installed miri, which builds in release mode.

So we built in release mode anyway but tested slowly in debug mode
  • Loading branch information
oli-obk committed Aug 2, 2017
1 parent 29a3c4d commit 7e585ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ script:
xargo/build.sh
- |
# Test plain miri
cargo build &&
cargo test &&
cargo build --release &&
cargo test --release &&
cargo install
- |
# Test cargo miri
Expand All @@ -26,11 +26,11 @@ script:
cd ..
- |
# and run all tests with full mir
MIRI_SYSROOT=~/.xargo/HOST cargo test
MIRI_SYSROOT=~/.xargo/HOST cargo test --release
- |
# test that the rustc_tests binary compiles
cd rustc_tests &&
cargo build &&
cargo build --release &&
cd ..
notifications:
email:
Expand Down

0 comments on commit 7e585ef

Please sign in to comment.