Skip to content

Commit cade76c

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 8c5e97e commit cade76c

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
@@ -34,7 +34,7 @@ before_script:
3434
- image="${image//'/'/-}"
3535

3636
script:
37-
- docker build -t "$image" "${VARIANT:-.}"
37+
- travis_retry docker build -t "$image" "${VARIANT:-.}"
3838
- ~/official-images/test/run.sh "$image"
3939

4040
after_script:

0 commit comments

Comments
 (0)