Skip to content

Commit 6bcbc1e

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 e06eaa3 commit 6bcbc1e

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
@@ -26,7 +26,7 @@ before_script:
2626
- image="tomcat:$VERSION-$VARIANT"
2727

2828
script:
29-
- docker build -t "$image" .
29+
- travis_retry docker build -t "$image" .
3030
- ~/official-images/test/run.sh "$image"
3131

3232
after_script:

0 commit comments

Comments
 (0)