Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Don't fail if unshallow fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Guertin committed Jul 17, 2016
1 parent 4ab5b59 commit 0170e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ notifications:

before_script:
- git fetch --tags
- git fetch --unshallow
- git fetch --unshallow || true
- export DESCRIBE=$(git describe)
- export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
Expand Down

0 comments on commit 0170e3d

Please sign in to comment.