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