Skip to content

Commit e021439

Browse files
committed
travis: run tests of external projects with --all-targets --all-features -- --cap-lints warn
1 parent 4010788 commit e021439

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/base-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mkdir -p ~/rust/cargo/bin
77
cp target/debug/cargo-clippy ~/rust/cargo/bin/cargo-clippy
88
cp target/debug/clippy-driver ~/rust/cargo/bin/clippy-driver
99
rm ~/.cargo/bin/cargo-clippy
10-
PATH=$PATH:~/rust/cargo/bin cargo clippy --all -- -D clippy
10+
PATH=$PATH:~/rust/cargo/bin cargo clippy --all-targets --all-features -- --cap-lints warn -D clippy
1111
cd clippy_workspace_tests && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ..
1212
cd clippy_workspace_tests/src && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ../..
1313
cd clippy_workspace_tests/subcrate && PATH=$PATH:~/rust/cargo/bin cargo clippy -- -D clippy && cd ../..

ci/integration-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ git clone --depth=1 https://github.com/${INTEGRATION}.git checkout
88
cd checkout
99

1010
function check() {
11-
RUST_BACKTRACE=full cargo clippy --all &> clippy_output
11+
RUST_BACKTRACE=full cargo clippy --all-targets --all-features -- --cap-lints warn &> clippy_output
1212
cat clippy_output
13-
! cat clippy_output | grep -q "internal compiler error"
13+
! cat clippy_output | grep -q "internal compiler error\|query stack during panic"
1414
if [[ $? != 0 ]]; then
1515
return 1
1616
fi

0 commit comments

Comments
 (0)