Skip to content

Commit 882426b

Browse files
committed
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.
1 parent 25bfc8a commit 882426b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
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)