Skip to content

Commit 54c0b0d

Browse files
committed
Make sure that compat-Cargo.lock is fresh
Previously, compat-Cargo.lock could have been updated during CI, if Cargo.toml is changed. This can lead to spurious build failures when testing MSRV, because not all dependencies are effectively locked.
1 parent 4fd13b0 commit 54c0b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix:
1616
os: linux
1717
#if: everything!
1818
before_script: cp ci/compat-Cargo.lock ./Cargo.lock
19-
script: cargo build
19+
script: cargo build --locked
2020

2121
- rust: stable
2222
os: linux

0 commit comments

Comments
 (0)