Skip to content

Commit 9067caa

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 6f0fd3d commit 9067caa

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
@@ -15,7 +15,7 @@ before_script:
1515
- image="mongo:$VERSION"
1616

1717
script:
18-
- docker build -t "$image" .
18+
- travis_retry docker build -t "$image" .
1919
- ~/official-images/test/run.sh "$image"
2020

2121
after_script:

0 commit comments

Comments
 (0)