We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 000c3ff commit a37bd8cCopy full SHA for a37bd8c
ci/integration-tests.sh
@@ -18,6 +18,8 @@ cd checkout
18
19
# run clippy on a project, try to be verbose and trigger as many warnings
20
# as possible for greater coverage
21
+# NOTE: we use `tee` to print any warnings and errors to stdout
22
+# to avoid build timeout in Travis
23
RUST_BACKTRACE=full \
24
cargo clippy \
25
--all-targets \
@@ -26,10 +28,9 @@ cargo clippy \
26
28
--cap-lints warn \
27
29
-W clippy::pedantic \
30
-W clippy::nursery \
- > clippy_output 2>&1 || true
31
+ 2>&1 | tee clippy_output
32
33
cargo uninstall clippy
-cat clippy_output
34
35
if grep -q "internal compiler error\|query stack during panic\|E0463" clippy_output; then
36
exit 1
0 commit comments