Skip to content

Commit 824c2dc

Browse files
committed
Git clone unshallow repo
2 parents cc93b47 + 06916a1 commit 824c2dc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ cache:
88
- node_modules
99
git:
1010
depth: 3
11+
install:
12+
- git clone $GIT_CLONE_REMOTE
13+
- cd $REPO_NAME
14+
- git checkout $TRAVIS_BRANCH
15+
- npm i
1116
script: npm run travis-script
1217
after_script:
1318
- npm report-coverage
1419
before_script:
1520
- npm install -g gulp-cli
16-
- git fetch --all --unshallow
1721
deploy:
1822
app: $APP_NAME
1923
provider: $PROVIDER

travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ git config --global user.email $GIT_USER_EMAIL
66
gem install $PROVIDER
77

88
# Add your Heroku git repo:
9-
git remote rm $PROVIDER ;
9+
git remote rm $PROVIDER ;
1010

1111
git remote add $PROVIDER git@$PROVIDER.com:$PROVIDER_APP_NAME.git ;
1212

0 commit comments

Comments
 (0)