diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-12-09 22:47:22 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-12-09 22:47:22 +0100 |
| commit | 31d3bd92be7fd073beaece348193a78d4964b3e2 (patch) | |
| tree | 38dd4681dcccdc74d665331d2873fe3ac8ffc10e | |
| parent | 1fbcbe4aa155c0607368c3d860cb4fb0cdd203a3 (diff) | |
| download | rust-31d3bd92be7fd073beaece348193a78d4964b3e2.tar.gz rust-31d3bd92be7fd073beaece348193a78d4964b3e2.zip | |
travis: base-tests: share CARGO_TARGET_DIR between check runs of subcrates to avoid unneccessarily recompiling deps.
| -rwxr-xr-x | ci/base-tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/base-tests.sh b/ci/base-tests.sh index 2537f157ad9..da87134f59f 100755 --- a/ci/base-tests.sh +++ b/ci/base-tests.sh @@ -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 .. |
