docker-images
docker-images copied to clipboard
Support travis_retry function
Travis provides a travis_retry function that eases retrying commands (in particular for temporary networking issues).
[…] you can wrap commands using the function
travis_retrywhich checks the return code of a command, retrying it three times if the return code is non-zero.install: travis_retry bundle install
http://docs.travis-ci.com/user/build-timeouts/#Timeouts-installing-dependencies
See https://github.com/travis-ci/travis-build/pull/104 for the source of the function definition.
Support for this function would be nice.
+1
If this was licenced as MIT couldn't it just be copied (along with any other useful functions?)?