mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
travis-ci fix git shallow clone for git ver (#4885)
This commit is contained in:
+2
-1
@@ -25,7 +25,8 @@ cache:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
- 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}
|
&& docker pull ${DOCKER_REPO}
|
||||||
;
|
;
|
||||||
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
|
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user