Auto merge of #3522 - matthiaskrgr:target_dir, r=phansch

travis: base-tests: share CARGO_TARGET_DIR between check runs of subcrates to avoid unnecessarily recompiling deps.
This commit is contained in:
bors 2018-12-10 06:01:16 +00:00
commit 02512c10b2

View file

@ -20,6 +20,8 @@ fi
# build clippy in debug mode and run tests
cargo build --features debugging
cargo test --features debugging
# for faster build, share target dir between subcrates
export CARGO_TARGET_DIR=`pwd`/target/
cd clippy_lints && cargo test && cd ..
cd rustc_tools_util && cargo test && cd ..
cd clippy_dev && cargo test && cd ..