We've been getting a bunch of bug reports that are PHP 5.5 only recently, for example:
#2155847: Panopoly panes error
We should start running our tests in PHP 5.5 as well!
(Not that our current Behat test suite would have caught that error in that case -- it doesn't load that page.)
I've given this a shot here:
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | panopoly-travis-php55-2183015.patch | 1.21 KB | dsnopek |
Comments
Comment #1
dsnopekThe PHP 5.5 tests passed! Not sure yet if I want to go forward with this yet, though... It does mean there are A LOT of builds on each commit. I'll think on it for a couple days.
Comment #2
lsolesen commentedGuessing that a couple of days has passed. Probably time for enabling the PHP5.5 tests?
Put out a new test run rebased on current head: https://travis-ci.org/lsolesen/panopoly/builds/50312387
Comment #3
lsolesen commentedComment #4
lsolesen commentedStill passing!
Comment #5
lsolesen commentedRebased on newest code https://travis-ci.org/lsolesen/panopoly/builds/63334408
Comment #6
dsnopekOn IRC, we discussed only running a single build with PHP 5.5, which @lsolesen figured out how to do:
https://github.com/lsolesen/panopoly/compare/5db61b4fa547...664f31e21b07
Assuming the build actually works, I'll include the same changes in upstream Panopoly!
Here's the build:
https://travis-ci.org/lsolesen/panopoly/builds/63339204
Marking as "Active" since there is no patch here.
Comment #7
dsnopekSo, @lsolesen's tests failed because we're always setting up APC and there is no APC in PHP 5.5 or greater. Here's a patch which attempts to work around that.
Comment #8
lsolesen commentedYeah, I saw that, and I was thinking around the same lines. APC should not be needed for PHP > 5.4 as I understand?
Comment #9
dsnopekYep! Any chance you could test the patch I posted? I haven't had a chance to run it on Travis yet.
Comment #10
lsolesen commentedI put it on Travis here: https://travis-ci.org/lsolesen/panopoly/builds/63614914
Comment #11
dsnopekComment #12
dsnopekComment #14
dsnopekCommitted!