From 7f792e7e4d4e9e78e84e53e9434d11da1acc5ea2 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 27 Feb 2017 16:14:17 -0800 Subject: [PATCH] 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9db325d0ca..80d5fec62c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: