Merge pull request #21586 from rodrigoprimo/travis-php-73

Add PHP 7.3 to the Travis build matrix
This commit is contained in:
Rodrigo Primo 2018-10-17 10:26:35 -03:00 committed by GitHub
commit 2cd6bdf7d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -13,6 +13,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.3
env:
- WP_VERSION=latest WP_MULTISITE=0
@ -32,9 +33,16 @@ matrix:
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
allow_failures:
- env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
- php: 7.3
before_script:
- phpenv config-rm xdebug.ini
- |
# Remove Xdebug for a huge performance increase:
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
phpenv config-rm xdebug.ini
else
echo "xdebug.ini does not exist"
fi
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
- bash tests/bin/travis.sh before