Skip to content

Commit 7ed1935

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 97ab55c commit 7ed1935

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
@@ -24,7 +24,7 @@ before_script:
2424
- image="openjdk:${VERSION}${VARIANT:+-$VARIANT}"
2525

2626
script:
27-
- docker build -t "$image" .
27+
- travis_retry docker build -t "$image" .
2828
- ~/official-images/test/run.sh "$image"
2929

3030
after_script:

0 commit comments

Comments
 (0)