Build/Test Tools: Remove HHVM from the test infrastructure on Travis.
Fixes #40548 git-svn-id: https://develop.svn.wordpress.org/trunk@40546 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4602012570
commit
127b1592f7
23
.travis.yml
23
.travis.yml
|
@ -23,19 +23,8 @@ matrix:
|
|||
- php: 5.4
|
||||
- php: 5.3
|
||||
- php: 5.2
|
||||
- php: hhvm
|
||||
sudo: required
|
||||
dist: trusty
|
||||
group: edge
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- mysql-server-5.6
|
||||
- mysql-client-core-5.6
|
||||
- mysql-client-5.6
|
||||
- php: nightly
|
||||
allow_failures:
|
||||
- php: hhvm
|
||||
- php: nightly
|
||||
before_install:
|
||||
- |
|
||||
|
@ -54,7 +43,7 @@ before_install:
|
|||
fi
|
||||
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\.]+$'
|
||||
if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
|
||||
phpenv config-rm xdebug.ini
|
||||
|
@ -73,10 +62,6 @@ before_script:
|
|||
echo "Using PHPUnit 6.1"
|
||||
composer global require "phpunit/phpunit=6.1.*"
|
||||
;;
|
||||
hhvm)
|
||||
echo "Using PHPUnit 5.7"
|
||||
composer global require "phpunit/phpunit=5.7.*"
|
||||
;;
|
||||
5.6|5.5|5.4|5.3)
|
||||
echo "Using PHPUnit 4.8"
|
||||
composer global require "phpunit/phpunit=4.8.*"
|
||||
|
@ -100,11 +85,7 @@ before_script:
|
|||
- mysql --version
|
||||
- phpenv versions
|
||||
- php --version
|
||||
- |
|
||||
# Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
|
||||
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
|
||||
php -m
|
||||
fi
|
||||
- php -m
|
||||
- npm --version
|
||||
- node --version
|
||||
- which phpunit
|
||||
|
|
Loading…
Reference in New Issue