Permalink
Browse files

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.
  • Loading branch information...
1 parent 25bfc8a commit 882426b404cf933d02c3e05b9d40065ecddd6b26 @alexcrichton alexcrichton committed Jan 7, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
View
@@ -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

0 comments on commit 882426b

Please sign in to comment.