From 38f5797e3c23e65b62dc0f7f02c20ca21c4c6d30 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 9 Mar 2017 20:53:37 +0000 Subject: [PATCH] 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 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e289444920..115ed0a257 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,7 @@ before_script: - | if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then composer global require "phpunit/phpunit=5.7.*" - else + elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then composer global require "phpunit/phpunit=4.8.*" fi - npm install -g npm