#40407 closed task (blessed) (fixed)
Trim the test matrix on Travis for older branches
Reported by: | johnbillion | Owned by: | |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Build/Test Tools | Keywords: | |
Focuses: | Cc: |
Description
During patch releases (eg. security and maintenance releases), the time that it takes for the Travis builds to run is a substantial hindrance to shipping and backporting quickly.
Given that backports go to 11 branches now, and each branch takes ~20 minutes to test on Travis, that's around 3.5 hours to wait before releasing, and that's not including all the time wasted cancelling builds on branches with multiple commits.
It's time we trimmed down the test matrix on older branches to remove the PHP 5.3, 5.4, 5.5, hhvm, nightly, and non-latest-7.x jobs from the branch builds. That leaves the JS job, and the 5.2, 5.6, 5.6 memcached, and latest 7.x.
The likelihood of a patch release breaking on a version of PHP between 5.3 and 5.5 but not affecting 5.2 or 5.6+ is very low. The risk is greatly outweighed by the benefit of faster and less stressful builds.
Change History (19)
#11
in reply to:
↑ 1
@
8 years ago
Replying to desrosj:
I noticed this week that Travis has a new setting for automatically cancelling builds as mentioned above. Enabling those new settings (even as a beta feature) may also help alleviate some of the stress of the manual cancellations.
Yeah I think that will help a good deal, too. We enabled it a few weeks ago: #38500.
I noticed this week that Travis has a new setting for automatically cancelling builds as mentioned above. Enabling those new settings (even as a beta feature) may also help alleviate some of the stress of the manual cancellations.