Merge pull request #3165 from hugovk/travis_retry

Use travis_retry for docker pull to avoid occasional network timeouts
This commit is contained in:
Hugo 2018-06-30 11:32:42 +03:00 committed by GitHub
commit 1ffc67e70b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ install:
- if [ "$DOCKER" == "" ]; then .travis/install.sh; fi
before_install:
- if [ "$DOCKER" ]; then docker pull pythonpillow/$DOCKER:$DOCKER_TAG; fi
- if [ "$DOCKER" ]; then travis_retry docker pull pythonpillow/$DOCKER:$DOCKER_TAG; fi
before_script:
# Qt needs a display for some of the tests, and it's only run on the system site packages install