Skip to content

Commit 2ceb6e0

Browse files
committed
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.
2 parents bb7e7ef + 882426b commit 2ceb6e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ script:
6969
if [ "$ALLOW_PR" = "" ] && [ "$TRAVIS_BRANCH" != "auto" ]; then
7070
echo skipping, not a full build;
7171
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
72-
git submodule update --init &&
72+
travis_retry git submodule update --init &&
7373
src/ci/run.sh;
7474
else
75-
git submodule update --init &&
75+
travis_retry git submodule update --init &&
7676
src/ci/docker/run.sh $IMAGE;
7777
fi
7878

0 commit comments

Comments
 (0)