travis_retry not available in subshells/scripts

This commit is contained in:
Hugo 2018-09-19 11:51:18 +03:00
parent 590af1a8c1
commit 5494037651
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ services:
- docker - docker
install: install:
- if [ "$DOCKER" == "" ]; then .travis/install.sh; fi - if [ "$DOCKER" == "" ]; then travis_retry .travis/install.sh; fi
before_install: before_install:
- if [ "$DOCKER" ]; then travis_retry docker pull pythonpillow/$DOCKER:$DOCKER_TAG; fi - if [ "$DOCKER" ]; then travis_retry docker pull pythonpillow/$DOCKER:$DOCKER_TAG; fi

View File

@ -4,6 +4,6 @@
rm -rf test_images rm -rf test_images
# Use SVN to just fetch a single Git subdirectory # Use SVN to just fetch a single Git subdirectory
travis_retry svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images
cp -r test_images/* ../Tests/images cp -r test_images/* ../Tests/images