#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 |
---|---|---|---|
Milestone: | 5.0 | Priority: | low |
Severity: | minor | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | Cc: |
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)
#1
follow-up:
↓ 2
@
6 years ago
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 5.0
#2
in reply to:
↑ 1
@
6 years ago
- Keywords commit added
Replying to johnbillion:
@netweb Any thoughts on this? I can't see a downside myself.
Nope, go for it
#5
@
6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopen for merge to the 5.0 branch.
Note: See
TracTickets for help on using
tickets.
@netweb Any thoughts on this? I can't see a downside myself.