Build/Test tools: Account for PHP 5.2 when using Composer to install PHPUnit.
See #39822, #40086 git-svn-id: https://develop.svn.wordpress.org/trunk@40257 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8060823ff3
commit
38f5797e3c
@ -56,7 +56,7 @@ before_script:
|
|||||||
- |
|
- |
|
||||||
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
|
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
|
||||||
composer global require "phpunit/phpunit=5.7.*"
|
composer global require "phpunit/phpunit=5.7.*"
|
||||||
else
|
elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
|
||||||
composer global require "phpunit/phpunit=4.8.*"
|
composer global require "phpunit/phpunit=4.8.*"
|
||||||
fi
|
fi
|
||||||
- npm install -g npm
|
- npm install -g npm
|
||||||
|
Loading…
Reference in New Issue
Block a user