Skip to content

Commit 000c3ff

Browse files
committedOct 29, 2019
Auto merge of rust-lang#4752 - lzutao:cache/uninstall-clippy, r=flip1995
build: do not cache clippy binaries in integration tests We rebuild clippy anyway. So caching them is needless ```console % ls -lF target/debug total 628M drwxr-xr-x 22 lzutao lzutao 4.0K Oct 29 04:02 build/ drwxr-xr-x 2 lzutao lzutao 144K Oct 29 04:03 deps/ drwxr-xr-x 2 lzutao lzutao 4.0K Oct 29 03:57 examples/ drwxr-xr-x 11 lzutao lzutao 4.0K Oct 29 04:03 incremental/ -rwxr-xr-x 2 lzutao lzutao 3.4M Oct 29 04:03 cargo-clippy* -rw-r--r-- 1 lzutao lzutao 11K Oct 29 03:58 cargo-clippy.d -rwxr-xr-x 2 lzutao lzutao 313M Oct 29 04:03 clippy-driver* -rw-r--r-- 1 lzutao lzutao 11K Oct 29 03:58 clippy-driver.d -rw-r--r-- 1 lzutao lzutao 11K Oct 29 04:03 libclippy.d -rwxr-xr-x 2 lzutao lzutao 312M Oct 29 04:03 libclippy.so* ``` changelog: none
2 parents 3156e09 + 55c3a3b commit 000c3ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cache:
1313
- $HOME/.cargo
1414
before_cache:
1515
- cargo install -Z install-upgrade cargo-cache --debug
16-
- cargo cache --autoclean
1716
- find $HOME/.cargo/bin/ ! -type d -exec strip {} \;
17+
- cargo cache --autoclean
1818

1919
env:
2020
global:

‎ci/integration-tests.sh

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ cargo clippy \
2828
-W clippy::nursery \
2929
> clippy_output 2>&1 || true
3030

31+
cargo uninstall clippy
3132
cat clippy_output
3233

3334
if grep -q "internal compiler error\|query stack during panic\|E0463" clippy_output; then

0 commit comments

Comments
 (0)