Skip to content

Commit 8be7de8

Browse files
committed
For commands which do not have a built in retry feature, use the travis_retry function to retry it up three times if the return code is non-zero
1 parent 948e303 commit 8be7de8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ install:
4242
- if [ "$DOCKER" == "" ]; then .travis/install.sh; fi
4343

4444
before_install:
45-
- if [ "$DOCKER" ]; then docker pull pythonpillow/$DOCKER:$DOCKER_TAG; fi
45+
- if [ "$DOCKER" ]; then travis_retry docker pull pythonpillow/$DOCKER:$DOCKER_TAG; fi
4646

4747
before_script:
4848
# Qt needs a display for some of the tests, and it's only run on the system site packages install

0 commit comments

Comments
 (0)