From b34cdc7a79e1ac36621a70dfaa3661d294e05268 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 21 Jun 2016 17:20:08 +0200 Subject: [PATCH] speed up travis by not recompiling clippy just to test `cargo clippy` --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4329bb25804..403b41f032a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ script: - python util/update_lints.py -c - cargo build --features debugging - cargo test --features debugging - - SYSROOT=~/rust cargo install + - cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy - cargo clippy -- -D clippy - cd clippy_lints && cargo clippy -- -D clippy && cd ..