Skip to content

Commit

Permalink
travis-ci fix git shallow clone for git ver (#4885)
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar authored Jun 23, 2016
1 parent c2825f7 commit b09872e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ cache:

before_install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
git fetch --all --tags --unshallow
cd ${TRAVIS_BUILD_DIR}
&& git fetch --unshallow && git fetch --all --tags
&& docker pull ${DOCKER_REPO}
;
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
Expand Down

0 comments on commit b09872e

Please sign in to comment.