jolicode / jolicode/docker-images

Support travis_retry function

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
33
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Travis provides a `travis_retry` function that eases retrying commands (in particular for temporary networking issues).

> […] you can wrap commands using the function `travis_retry` which 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.