Skip to content

Commit 24e45de

Browse files
committed
travis: more consistent cargo flags (--locked, --release)
1 parent 91d9b83 commit 24e45de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ script:
1616
xargo/build.sh
1717
- |
1818
# Test plain miri
19-
cargo build --locked --release --features "cargo_miri" &&
20-
cargo test --release --all &&
21-
cargo install --features "cargo_miri"
19+
cargo build --locked --release --all-features &&
20+
cargo test --locked --release --all-features --all &&
21+
cargo install --locked --release --all-features
2222
- |
2323
# Test cargo miri
2424
cd cargo-miri-test &&
@@ -27,7 +27,7 @@ script:
2727
cd ..
2828
- |
2929
# and run all tests with full mir
30-
MIRI_SYSROOT=~/.xargo/HOST cargo test --release
30+
MIRI_SYSROOT=~/.xargo/HOST cargo test --locked --release
3131
- |
3232
# test that the rustc_tests binary compiles
3333
cd rustc_tests &&

0 commit comments

Comments
 (0)