mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test tools: Use the latest in the 4.x and 6.x branches of PHPUnit when running tests on Travis.
Props netweb, ayeshrajans Fixes #41472 git-svn-id: https://develop.svn.wordpress.org/trunk@41294 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e7e9e5b3fb
commit
a6f8f9668b
@ -65,12 +65,12 @@ before_script:
|
||||
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
|
||||
case "$TRAVIS_PHP_VERSION" in
|
||||
7.2|7.1|7.0|nightly)
|
||||
echo "Using PHPUnit 6.1"
|
||||
composer global require "phpunit/phpunit=6.1.*"
|
||||
echo "Using PHPUnit 6.x"
|
||||
composer global require "phpunit/phpunit:^6"
|
||||
;;
|
||||
5.6|5.5|5.4|5.3)
|
||||
echo "Using PHPUnit 4.8"
|
||||
composer global require "phpunit/phpunit=4.8.*"
|
||||
echo "Using PHPUnit 4.x"
|
||||
composer global require "phpunit/phpunit:^4"
|
||||
;;
|
||||
5.2)
|
||||
# Do nothing, use default PHPUnit 3.6.x
|
||||
|
||||
Loading…
Reference in New Issue
Block a user