#44858 closed enhancement (fixed)
Implement travis_retry to reduce the chance that network errors cause CI builds to fail
| Reported by: | johnbillion | Owned by: | pento |
|---|---|---|---|
| Priority: | low | Milestone: | 5.0 |
| Component: | Build/Test Tools | Version: | |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Travis CI has a travis_retry shell function that can be prefixed onto installation commands and cause them to retry up to three times in the event of a non-zero response.
Let's implement this for all commands called during before_install and before_script that touch the network, for example the svn and composer commands. This will reduce the chance that a network issue will cause the build to fail.
Ref: https://docs.travis-ci.com/user/common-build-problems/#timeouts-installing-dependencies
Attachments (1)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@netweb Any thoughts on this? I can't see a downside myself.