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
ruby:
version: 2.1.2
general:
branches:
only:
- master # ignore PRs and branches
test:
override:
- echo "Skipping tests for now"

View File

@ -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