travis: forgot to add a --locked check to install

This commit is contained in:
ClementTsang 2020-07-08 15:21:31 -04:00
parent 5cfbaf672d
commit b111b545d8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ script:
if [[ $TRAVIS_RUST_VERSION != "1.40.0" ]]; then
cargo test --verbose --target $TARGET;
fi
- cargo install --path . --target $TARGET
- cargo install --path . --target $TARGET --locked
before_cache:
- rm -rf /home/travis/.cargo/git