From 55c3a3b282d0de8527b9556a79913b071d7bb048 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Tue, 29 Oct 2019 11:08:06 +0700 Subject: [PATCH] build: do not cache clippy binaries in integration tests We rebuild clippy anyway. --- .travis.yml | 2 +- ci/integration-tests.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 26891ae23ae..7be9174843b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ cache: - $HOME/.cargo before_cache: - cargo install -Z install-upgrade cargo-cache --debug - - cargo cache --autoclean - find $HOME/.cargo/bin/ ! -type d -exec strip {} \; + - cargo cache --autoclean env: global: diff --git a/ci/integration-tests.sh b/ci/integration-tests.sh index 16098c50ec4..6d33224a59b 100755 --- a/ci/integration-tests.sh +++ b/ci/integration-tests.sh @@ -28,6 +28,7 @@ cargo clippy \ -W clippy::nursery \ > clippy_output 2>&1 || true +cargo uninstall clippy cat clippy_output if grep -q "internal compiler error\|query stack during panic\|E0463" clippy_output; then