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