diff --git a/.travis.yml b/.travis.yml index 675a5d4a3b..ff94e2587c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)