travis.yml: retry git fetch.
This commit is contained in:
parent
a782406cc3
commit
9c5427d9a9
@ -19,7 +19,7 @@ before_install:
|
||||
- export TRAVIS_BUILD_DIR="/usr/local"
|
||||
- sudo chown -R $USER /usr/local
|
||||
- cd /usr/local
|
||||
- if [ -f ".git/shallow" ]; then git fetch --unshallow; fi
|
||||
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
|
||||
- git reset --hard $TRAVIS_COMMIT
|
||||
- git clean -qxdff
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user