File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 12
12
directories :
13
13
- $HOME/.cargo
14
14
before_cache :
15
+ - find $HOME/.cargo/bin/ ! -type d -exec strip {} \;
15
16
- cargo install -Z install-upgrade cargo-cache --debug
16
17
- cargo cache --autoclean
17
18
Original file line number Diff line number Diff line change @@ -14,16 +14,21 @@ cargo install --force --debug --path .
14
14
echo " Running integration test for crate ${INTEGRATION} "
15
15
16
16
git clone --depth=1 " https://github.com/${INTEGRATION} .git" checkout
17
- cd checkout || exit 1
17
+ cd checkout
18
18
19
- # run clippy on a project, try to be verbose and trigger as many warnings as possible for greater coverage
19
+ # run clippy on a project, try to be verbose and trigger as many warnings
20
+ # as possible for greater coverage
20
21
RUST_BACKTRACE=full \
21
22
cargo clippy \
22
23
--all-targets \
23
24
--all-features \
24
- -- --cap-lints warn -W clippy::pedantic -W clippy::nursery \
25
- 2>& 1 \
26
- | tee clippy_output
25
+ -- \
26
+ --cap-lints warn \
27
+ -W clippy::pedantic \
28
+ -W clippy::nursery \
29
+ > clippy_output 2>&1 || true
30
+
31
+ cat clippy_output
27
32
28
33
if grep -q " internal compiler error\|query stack during panic\|E0463" clippy_output; then
29
34
exit 1
You can’t perform that action at this time.
0 commit comments