Skip to content

Commit

Permalink
travis: base-tests: share CARGO_TARGET_DIR between check runs of subc…
Browse files Browse the repository at this point in the history
…rates to avoid unneccessarily recompiling deps.
  • Loading branch information
matthiaskrgr committed Dec 9, 2018
1 parent 1fbcbe4 commit 31d3bd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/base-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down

0 comments on commit 31d3bd9

Please sign in to comment.