Skip to content

Commit c0a7458

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 7eaa1cd commit c0a7458

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
@@ -18,7 +18,7 @@ before_script:
1818
- image="logstash:${VERSION}${VARIANT:+-$VARIANT}"
1919

2020
script:
21-
- docker build -t "$image" "${VARIANT:-.}"
21+
- travis_retry docker build -t "$image" "${VARIANT:-.}"
2222
- ~/official-images/test/run.sh "$image"
2323

2424
after_script:

0 commit comments

Comments
 (0)