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 committed 2017-02-27 16:13:23 -08:00
1 parent ebe992ca8d
commit 0ae70093ae
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ before_script:
- image="bash:$VERSION"
script:
- docker build -t "$image" .
- travis_retry docker build -t "$image" .
- docker run -it --rm "$image" --version
- docker run -it --rm "$image" echo hi
- ~/official-images/test/run.sh "$image"