Clone into checkout directory and cd into it

This commit is contained in:
Philipp Hansch 2018-05-16 19:21:57 +02:00
parent 9e6dc8d2d5
commit dd0ed5dccc
No known key found for this signature in database
GPG key ID: B6FA06A6E0E2665B

View file

@ -3,7 +3,8 @@ cargo install --force
echo "Running integration test for crate ${INTEGRATION}"
git clone https://github.com/${INTEGRATION}.git
git clone --depth=1 https://github.com/${INTEGRATION}.git checkout
cd checkout
function check() {
cargo clippy --all &> clippy_output
@ -19,7 +20,6 @@ case ${INTEGRATION} in
check
;;
*)
cd ${INTEGRATION}
check
;;
esac