[wp-trac] [WordPress Trac] #41292: Switch Travis CI environment to Trusty - PHP 5.2 & 5.3 no longer available Sept 2017

WordPress Trac noreply at wordpress.org
Tue Jul 18 12:47:05 UTC 2017


#41292: Switch Travis CI environment to Trusty - PHP 5.2 & 5.3  no longer available
Sept 2017
------------------------------------------+-----------------------
 Reporter:  netweb                        |       Owner:  jnylen0
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  high                          |   Milestone:  4.8.1
Component:  Build/Test Tools              |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+-----------------------

Comment (by netweb):

 Replying to [comment:13 jnylen0]:
 > After fixing the immediate issue here, a potentially lighter-weight
 alternative to Docker would be to use [https://github.com/phpbrew/phpbrew
 phpbrew] to build PHP 5.2, then use [https://docs.travis-
 ci.com/user/caching/#Arbitrary-directories Travis' built-in caching
 mechanism] to avoid doing this on every build.  We'll probably want to
 make use of that caching either way.
 >
 > If we try to build our own PHP 5.2, here are a couple of
 configurations/patches that we will proably need to apply:
 >
 > - `undefined reference to symbol blahblahblah openssl`:
 https://github.com/phpbrew/phpbrew/issues/111#issuecomment-173811458
 > - `ext/dom/node.c: error: dereferencing pointer to incomplete type`:
 https://github.com/phpbrew/phpbrew/issues/249#issuecomment-58273934 /
 https://github.com/phpbrew/phpbrew/wiki/TroubleShooting#error-
 dereferencing-pointer-to-incomplete-type

 I've not looked at any of the above and per the Travis CI issue it wasn't
 just the compiling PHP binaries:

 > https://github.com/travis-ci/travis-
 ci/issues/2963#issuecomment-127238259
 > > I should note here that support for PHP 5.2 and 5.3 on Trusty is not
 just about compiling the binary. From what I recall, PHPUnit can no longer
 be installed via PEAR, which I believe is the only means by which it can
 be installed on PHP 5.2 and 5.3
 (https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-
 Installation-Method).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41292#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list