2 rm ~/.cargo/bin/cargo-clippy
3 cargo install --force --path .
5 echo "Running integration test for crate ${INTEGRATION}"
7 git clone --depth=1 https://github.com/${INTEGRATION}.git checkout
11 RUST_BACKTRACE=full cargo clippy --all &> clippy_output
13 ! cat clippy_output | grep -q "internal compiler error"
14 if [[ $? != 0 ]]; then
19 case ${INTEGRATION} in