Skip to content

Commit e96858c

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 dd9ecbb commit e96858c

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
@@ -21,7 +21,7 @@ before_script:
2121
- slash='/'; image="wordpress:${VARIANT//$slash/-}"
2222

2323
script:
24-
- docker build -t "$image" .
24+
- travis_retry docker build -t "$image" .
2525
- ~/official-images/test/run.sh "$image"
2626

2727
after_script:

0 commit comments

Comments
 (0)