Travis: run the build tests against PHP 7.2 as well#511
Conversation
|
Looks like it's failing on 2 builds ? |
|
Two on the PR build, three on the push build. Hmm... Those failures don't have anything to do with the change in this PR, but might well be related to more changes in the Travis PHP images. |
The new Trusty images as per Sept 7 include an image for PHP 7.2 (even though it hasn't been released yet) and nightly is now PHP 7.3-dev. Also, while the Travis images in Q2 required PHP 5.4 to be run on `precise` for the builds to pass, seems that in Q3, `trusty` is fixed again.
b40a280 to
7932def
Compare
|
I've changed the PHP 5.4 builds back to using |
|
Right. Finally took the time to try & figure out what is going on here. I've traced the errors back to the PHPUnit version being used for those builds. Specifically to a change made in PHPUnit 4.6.0 which is when the builds start breaking in combination with PHP 5.3 and 5.4 and older PHPCS versions. The relevant current Travis images use:
Strangely enough the build for PHP 5.4 / PHPCS 3.x, both for the old as well as for the new images, seems to have been run on 5.4.45/4.8.35 and passes without issue (confirming that it is something in the Sadly, I've not been able to track down which specific change in PHPUnit is the one causing the problem and have therefore not been able to figure out a way to mitigate this. I suspect it has something to do with the command line options being passed to PHPCS and PHPUnit getting confused over it, but debugging this has so far not yielded any results. What I'd like to propose is to just fix the PHPUnit version for the 3 affected builds to PHPUnit 4.5.1 and be done with it. At least that way the builds will pass again and new PRs can be pulled. Refs: |
e21cdcc to
70b2795
Compare
|
Given that HHVM is no longer supported by any of the big frameworks, should we keep support for it at all ? |
I'm ambivalent about it. Basically as long as we don't need to do any extra coding in the sniffs for the builds to pass, I'm happy enough to leave it be. It can help devs who dev on HHVM, but deploy to PHP. |
|
@wimg What should the milestone for this one be ? 8.0.2 or 8.1.0 ? |
The new Trusty images as per Sept 7 include an image for PHP 7.2 (even though it hasn't been released yet) and nightly is now PHP 7.3-dev.