mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Build/Test Tools: Remove mentions of HHVM from the test infrastructure on Travis for the 4.3 branch.
See #40548 git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b2c8b54f2
commit
f3e03ed654
10
.travis.yml
10
.travis.yml
@ -27,7 +27,7 @@ before_install:
|
|||||||
fi
|
fi
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
# Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
|
# Remove Xdebug for a huge performance increase, but not from nightly:
|
||||||
stable='^[0-9\.]+$'
|
stable='^[0-9\.]+$'
|
||||||
if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
|
if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
|
||||||
phpenv config-rm xdebug.ini
|
phpenv config-rm xdebug.ini
|
||||||
@ -42,7 +42,7 @@ before_script:
|
|||||||
# Install the specified version of PHPUnit depending on the PHP version:
|
# Install the specified version of PHPUnit depending on the PHP version:
|
||||||
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
|
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
|
||||||
case "$TRAVIS_PHP_VERSION" in
|
case "$TRAVIS_PHP_VERSION" in
|
||||||
7.1|7.0|hhvm|nightly)
|
7.1|7.0|nightly)
|
||||||
echo "Using PHPUnit 5.7"
|
echo "Using PHPUnit 5.7"
|
||||||
composer global require "phpunit/phpunit=5.7.*"
|
composer global require "phpunit/phpunit=5.7.*"
|
||||||
;;
|
;;
|
||||||
@ -67,11 +67,7 @@ before_script:
|
|||||||
- npm install
|
- npm install
|
||||||
- npm prune
|
- npm prune
|
||||||
- php --version
|
- php --version
|
||||||
- |
|
- php -m
|
||||||
# Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
|
|
||||||
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
|
|
||||||
php -m
|
|
||||||
fi
|
|
||||||
- npm --version
|
- npm --version
|
||||||
- node --version
|
- node --version
|
||||||
- which phpunit
|
- which phpunit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user