From 1d05ad60fb5b7e90328e2a30df5b717812c566fb Mon Sep 17 00:00:00 2001 From: Andreas Fackler Date: Thu, 27 Sep 2018 10:44:07 +0200 Subject: [PATCH] Fix build failure if deadlinks is already installed. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7f30220..7b8743c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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,