From 0ae70093aedcf3c64f5eb83dac0efc4e7820ac02 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 27 Feb 2017 16:13:23 -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 321af16..b56eff7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"