aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2017-10-18 13:45:28 +0200
committerrubo77 <github@r.z11.de>2017-10-18 13:45:28 +0200
commit1c3fbe3f95732c28ffa0c2ec172e838ef4152fbf (patch)
treeb1783ff32b4fd9bea02f933817249395891cfeb2 /tests
parentc7f6a7e6ca13cc30b15ab6b92e6032eb5641d6c8 (diff)
travis: add --depth=1 to checkout of repos
Diffstat (limited to 'tests')
-rwxr-xr-xtests/validate_site.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validate_site.sh b/tests/validate_site.sh
index 4954008..ebd21cd 100755
--- a/tests/validate_site.sh
+++ b/tests/validate_site.sh
@@ -17,7 +17,7 @@ rm -Rf $testpath
mkdir -p $testpath/packages
cd $testpath/packages
for feed in $GLUON_SITE_FEEDS; do
- echo "checking PACKAGES_${feed^^}_REPO ..."
+ echo "####### checking PACKAGES_${feed^^}_REPO ..."
repo_var=$(echo PACKAGES_${feed^^}_REPO)
commit_var=$(echo PACKAGES_${feed^^}_COMMIT)
branch_var=$(echo PACKAGES_${feed^^}_BRANCH)
@@ -36,7 +36,7 @@ for feed in $GLUON_SITE_FEEDS; do
echo "branch $branch_var missing"
exit 1
fi
- git clone -b "$branch" --single-branch "$repo" $feed
+ git clone -b "$branch" --single-branch --depth=1 "$repo" $feed
if [ "$?" != "0" ]; then exit 1; fi
cd $feed
git checkout "$commit"