Skip to content

Commit 7f792e7

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 dd88d2f commit 7f792e7

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
@@ -22,7 +22,7 @@ before_script:
2222
- image="postgres:${VERSION}${VARIANT:+-${VARIANT}}"
2323

2424
script:
25-
- docker build -t "$image" .
25+
- travis_retry docker build -t "$image" .
2626
- ~/official-images/test/run.sh "$image"
2727

2828
after_script:

0 commit comments

Comments
 (0)