Opened 8 years ago
Closed 8 years ago
#36930 closed enhancement (fixed)
Travis CI: Update HHVM
Reported by: | netweb | Owned by: | netweb |
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
HHVM 3.6.x LTS is no longer supported, end of support was 1 March 2016
Travis CI "Legacy" infrastructure uses Ubuntu 12.x "Precise" and is limited to the last HHVM version supported by Facebook for Ubuntu 12.x Precise HHVM version 3.6.6
Facebook's HHVM LTS support of Ubuntu 12.x Precise and HHVM v3.6.x ended 1 March 2016.
Updating the HHVM job to Travis CI's "Trusty beta build environment" will allow us to use the latest HHVM versions currently at v3.13.1 on Ubuntu 14.x "Trusty"
Attachments (2)
Change History (7)
#3
in reply to:
↑ 2
@
8 years ago
- Keywords needs-refresh added; has-patch removed
- Owner set to netweb
- Status changed from new to assigned
Replying to ocean90:
From https://docs.travis-ci.com/user/trusty-ci-environment/#PHP
Note: We’re unable to build PHP 5.2 on Trusty so far, so trying to use it will result in a build failure when phpenv fails to compile it
Yes, I found out jobs can be mixed across environments, I plan on using Trusty for HHVM, PHP 5.2 will remain on Precise
#4
@
8 years ago
- Keywords has-patch commit added; needs-refresh removed
Patch 36930.1.diff is the same as this pull request: https://github.com/aaronjorbin/develop.wordpress/pull/4
Travis CI Build via above pull request: https://travis-ci.org/aaronjorbin/develop.wordpress/builds/132724396
Ubuntu 14.04 Trusty - HHVM 3.13.1 - MySQL 5.6: https://travis-ci.org/aaronjorbin/develop.wordpress/jobs/132724404
The patch also has a few other tweaks for Travis CI:
- It uses MySQL 5.6 for the HHVM job as the default MySQL 5.5 does not currently work on the Trusty environment
- Adds installed
apt
packages to the cache, in this case MySQL 5.6 for the HHVM job
- The per job environment variable
WP_TRAVISCI=travis:phpunit
is now set globally rather than per job, and overridden as needed, i.e. the "grunt build"/"javascript".1
job usingWP_TRAVISCI=travis:js
- The MySQL user is changed from
travis
toroot
, either works on the legacy environment but onlyroot
works on the Trusty environment
- A couple of debug lines to echo per job the version of PHP & MySQL being used to aid in easily debugging Travis CI build environment issues
From https://docs.travis-ci.com/user/trusty-ci-environment/#PHP