CI optimizations

This commit is contained in:
perry 2016-03-15 15:55:23 -05:00
parent f5189bcea0
commit 95a85ce2e8
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,12 @@ machine:
version: 4.1.0 version: 4.1.0
ruby: ruby:
version: 2.1.2 version: 2.1.2
general:
branches:
only:
- master # ignore PRs and branches
test: test:
override: override:
- echo "Skipping tests for now" - echo "Skipping tests for now"

View File

@ -13,7 +13,7 @@ function run {
echo "-- Cloning $REPOSITORY#$BRANCH to $DIRECTORY..." echo "-- Cloning $REPOSITORY#$BRANCH to $DIRECTORY..."
ARGS="--branch=${BRANCH:-master}" ARGS="--branch=${BRANCH:-master} --depth=3"
if [[ "$DEPTH" != "" ]]; then if [[ "$DEPTH" != "" ]]; then
ARGS="$ARGS --depth=$DEPTH" ARGS="$ARGS --depth=$DEPTH"
fi fi