travis-ci fix git shallow clone for git ver (#4885)

This commit is contained in:
Daniel Agar
2016-06-23 11:04:36 -04:00
committed by GitHub
parent c2825f701a
commit b09872e795
+2 -1
View File
@@ -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