mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
CI optimizations
This commit is contained in:
parent
f5189bcea0
commit
95a85ce2e8
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user