Re: HTTP_Request2 Travis issues (was Re: Can I (or Alexey) do a release of HTTP_Request2?)

From: Date: Sun, 07 Feb 2016 22:08:16 +0000
Subject: Re: HTTP_Request2 Travis issues (was Re: Can I (or Alexey) do a release of HTTP_Request2?)
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-55503@lists.php.net to get a copy of this message
HTTP_Request2 has an up-to-date README, good CI tests (which look like they are failing due to an error on Travis-CI's side) and an up-to-date composer.json.
Speaking of Travis failures, tests on 5.2 failed due to some obvious Travis problem (do they even support 5.2 still?), while those on 5.5 and 5.6 failed with an interesting error message related to Net_URL2: Warning: require_once(Net/URL2.php): failed to open stream: No such file or directory in /home/travis/build/pear/HTTP_Request2/HTTP/Request2.php on line 25 that's pretty strange since .travis.yml has an explicit "pear install Net_URL2" and that install seemed to succeed. Any thoughts?
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. 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.

« previous php.pear.dev (#55503) next »