From 3ecac79c09d53b5235304590336558f50ceff81d Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Wed, 16 May 2018 19:15:51 +0200 Subject: [PATCH] Shallow clone in integration tests This should make cloning a bit faster for all the integration tests. --- ci/integration.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/integration.sh b/ci/integration.sh index 8e9e9ed2299..00e599dfb43 100755 --- a/ci/integration.sh +++ b/ci/integration.sh @@ -58,20 +58,20 @@ function check { case ${INTEGRATION} in cargo) - git clone https://github.com/rust-lang/${INTEGRATION}.git + git clone --depth=1 https://github.com/rust-lang/${INTEGRATION}.git cd ${INTEGRATION} export CFG_DISABLE_CROSS_TESTS=1 check cd - ;; failure) - git clone https://github.com/rust-lang-nursery/${INTEGRATION}.git + git clone --depth=1 https://github.com/rust-lang-nursery/${INTEGRATION}.git cd ${INTEGRATION}/failure-1.X check cd - ;; *) - git clone https://github.com/rust-lang-nursery/${INTEGRATION}.git + git clone --depth=1 https://github.com/rust-lang-nursery/${INTEGRATION}.git cd ${INTEGRATION} check cd -