Skip to content

Commit

Permalink
travis: Wrap submodules updates in travis_retry
Browse files Browse the repository at this point in the history
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
alexcrichton committed Jan 7, 2017
1 parent 25bfc8a commit 882426b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -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
Expand Down

0 comments on commit 882426b

Please sign in to comment.