Auto merge of #38904 - alexcrichton:travis-retry, r=japaric
travis: Wrap submodules updates in travis_retry Let's try to squash some of those network issues with a `travis_retry` tool to just retry the command a few times.
This commit is contained in:
commit
2ceb6e0ecd
@ -69,10 +69,10 @@ script:
|
||||
if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto" ]; then
|
||||
echo skipping, not a full build;
|
||||
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||
git submodule update --init &&
|
||||
travis_retry git submodule update --init &&
|
||||
src/ci/run.sh;
|
||||
else
|
||||
git submodule update --init &&
|
||||
travis_retry git submodule update --init &&
|
||||
src/ci/docker/run.sh $IMAGE;
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user