Fix build failure if deadlinks is already installed.

This commit is contained in:
Andreas Fackler 2018-09-27 10:44:07 +02:00 committed by Andreas Fackler
parent 010f29f337
commit 1d05ad60fb
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ before_install:
openssl aes-256-cbc -K $encrypted_ab99677a831c_key -iv $encrypted_ab99677a831c_iv -in deploy_rsa.enc -out deploy_rsa -d;
fi
- rustup component add --toolchain=$TRAVIS_RUST_VERSION rustfmt-preview clippy-preview
- cargo install cargo-deadlinks
- cargo deadlinks --version || cargo install cargo-deadlinks
# after_failure:
# # Outputs the syslog after a failed build, e.g. to debug `SIGILL` occurrences.
# # Unfortunately this is likely to disable container-based travis images,