Add "travis_retry" to our build to reduce transitory failures

Documentation is at https://docs.travis-ci.com/user/common-build-problems/#travis_retry

See https://github.com/docker-library/memcached/pull/14 for the test PR for this pattern.
This commit is contained in:
Tianon Gravi 2017-02-27 16:14:17 -08:00
parent dd88d2f02a
commit 7f792e7e4d
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ before_script:
- image="postgres:${VERSION}${VARIANT:+-${VARIANT}}"
script:
- docker build -t "$image" .
- travis_retry docker build -t "$image" .
- ~/official-images/test/run.sh "$image"
after_script: