Skip to content

Commit 41be917

Browse files
committed
make sure the lock file is not changed when building on CI
1 parent f1da208 commit 41be917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ script:
1616
xargo/build.sh
1717
- |
1818
# Test plain miri
19-
cargo build --release --features "cargo_miri" &&
19+
cargo build --locked --release --features "cargo_miri" &&
2020
cargo test --release --all &&
2121
cargo install --features "cargo_miri"
2222
- |
@@ -31,7 +31,7 @@ script:
3131
- |
3232
# test that the rustc_tests binary compiles
3333
cd rustc_tests &&
34-
cargo build --release &&
34+
cargo build --locked --release &&
3535
cd ..
3636
notifications:
3737
email:

0 commit comments

Comments
 (0)