Skip to content

Commit 4f45dbe

Browse files
committed
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 docker-library/memcached#14 for the test PR for this pattern.
1 parent 91cc574 commit 4f45dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ before_script:
2020
- image="haproxy:${VERSION}${VARIANT+-$VARIANT}"
2121

2222
script:
23-
- docker build -t "$image" "${VARIANT:-.}"
23+
- travis_retry docker build -t "$image" "${VARIANT:-.}"
2424
- ~/official-images/test/run.sh "$image"
2525

2626
after_script:

0 commit comments

Comments
 (0)