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:
parent
dd88d2f02a
commit
7f792e7e4d
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue