diff --git a/circle.yml b/circle.yml index 868af9c4e..4c60ebfa9 100644 --- a/circle.yml +++ b/circle.yml @@ -3,6 +3,12 @@ machine: version: 4.1.0 ruby: version: 2.1.2 + +general: + branches: + only: + - master # ignore PRs and branches + test: override: - echo "Skipping tests for now" diff --git a/scripts/git/clone.sh b/scripts/git/clone.sh index 07a064575..d44949c1b 100755 --- a/scripts/git/clone.sh +++ b/scripts/git/clone.sh @@ -13,7 +13,7 @@ function run { echo "-- Cloning $REPOSITORY#$BRANCH to $DIRECTORY..." - ARGS="--branch=${BRANCH:-master}" + ARGS="--branch=${BRANCH:-master} --depth=3" if [[ "$DEPTH" != "" ]]; then ARGS="$ARGS --depth=$DEPTH" fi