mirror of
https://github.com/tianon/docker-bash.git
synced 2026-11-21 02:26:29 +03:00
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 https://github.com/docker-library/memcached/pull/14 for the test PR for this pattern.
This commit is contained in:
1 parent
ebe992ca8d
commit
0ae70093ae
1 file changed
+1
-1
+1
-1
@@ -20,7 +20,7 @@ before_script:
|
||||
- image="bash:$VERSION"
|
||||
|
||||
script:
|
||||
- docker build -t "$image" .
|
||||
- travis_retry docker build -t "$image" .
|
||||
- docker run -it --rm "$image" --version
|
||||
- docker run -it --rm "$image" echo hi
|
||||
- ~/official-images/test/run.sh "$image"
|
||||
|
||||
Reference in new issue
Block a user