Skip to content

Commit

Permalink
Make sure that compat-Cargo.lock is fresh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matklad committed Nov 7, 2019
1 parent 4fd13b0 commit 54c0b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ matrix:
os: linux
#if: everything!
before_script: cp ci/compat-Cargo.lock ./Cargo.lock
script: cargo build
script: cargo build --locked

- rust: stable
os: linux
Expand Down

0 comments on commit 54c0b0d

Please sign in to comment.