Skip to content

Commit 378bc4d

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 1700e84 commit 378bc4d

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
@@ -11,7 +11,7 @@ before_script:
1111
script:
1212
- ./update.sh
1313
- test -z "$(git status --porcelain '*/hello' '*/nanoserver/hello.txt')"
14-
- docker build -t "$image" hello-world
14+
- travis_retry travis_retry travis_retry docker build -t "$image" hello-world
1515
- ~/official-images/test/run.sh "$image"
1616

1717
after_script:

0 commit comments

Comments
 (0)