Re: [PEAR-DEV] HTTP_Request2 Travis issues (was Re: Can I (or Alexey) do a release of HTTP_Request2?)
[email protected] (Alexey Borzov) Mon, 8 Feb 2016 17:05:00 +0300
| Newsgroups | php.pear.dev |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, On 08.02.2016 1:08, Michael Gauthier wrote: > The precise VM for Travis no longer include PHP 5.2 as an option. If you still > want to support 5.2 it has to be manually installed in the `before_script` > section. I recommend just dropping 5.2 support and removing the test for 5.2. Removed testing on 5.2 and added testing on 7.0. Build succeeds on 7.0, which is good. As for dropping support, I see no real benefit here: HTTP_Request2 runs OK on 5.2, so I'll just add a fat warning that it isn't *tested* on 5.2. > For PHP 5.5 and 5.6 it looks like there is a config issue with the default PEAR > install. See https://travis-ci.org/gauthierm/HTTP_Request2/jobs/107653291 which > does a `pear config-show` before running tests. > > The PHP include path is: > > /home/travis/.phpenv/versions/5.5.31/share/pear > > but the PEAR PHP path is: > > /home/travis/.phpenv/versions/5.5.31/lib/php/pear > > Anything installed via PEAR on these systems is not in the default include path > and causes a failure on require_once. I opened > https://github.com/travis-ci/travis-ci/issues/5589 for the issue. Thanks for the research. I've added a temporary workaround to include_path-mangling in tests/TestHelper.php so now the build succeeds: https://travis-ci.org/pear/HTTP_Request2/builds/107775957