Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix travis builds on PHP 5.5 #12804
What does it do ?
Based on fix in http://andreas.heigl.org/2015/11/12/testing-code-with-phpunit-on-travis-ci-for-php-5-5-and-php7/ and the discussion in travis-ci/travis-ci#5206 (comment), this adjustment makes sure that on PHP 5.5, phpunit 4.x is loaded rather than 5.x which is not compatible with PHP 5.5, but required for PHP7.
Why is it needed ?
The travis build indicates it fails on PHP 5.5 due to an unsupported version of phpunit.
Brief discussion here: #12803 (comment)
Well that's weird, it works from my fork (https://travis-ci.org/Mark-H/revolution/builds/95083691) but not here (https://travis-ci.org/modxcms/revolution/builds/95084108)