4 if [[ -z "$INTEGRATION" ]]; then
8 rm ~/.cargo/bin/cargo-clippy
9 cargo install --force --debug --path .
11 echo "Running integration test for crate ${INTEGRATION}"
13 git clone --depth=1 "https://github.com/${INTEGRATION}.git" checkout
16 # run clippy on a project, try to be verbose and trigger as many warnings as possible for greater coverage
21 -- --cap-lints warn -W clippy::pedantic -W clippy::nursery \
25 if grep -q "internal compiler error\|query stack during panic\|E0463" clippy_output; then