Merge pull request #21586 from rodrigoprimo/travis-php-73
Add PHP 7.3 to the Travis build matrix
This commit is contained in:
commit
2cd6bdf7d6
10
.travis.yml
10
.travis.yml
|
@ -13,6 +13,7 @@ php:
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
|
- 7.3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- WP_VERSION=latest WP_MULTISITE=0
|
- WP_VERSION=latest WP_MULTISITE=0
|
||||||
|
@ -32,9 +33,16 @@ matrix:
|
||||||
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
|
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
|
- env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
|
||||||
|
- php: 7.3
|
||||||
|
|
||||||
before_script:
|
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"
|
- export PATH="$HOME/.composer/vendor/bin:$PATH"
|
||||||
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
|
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
|
||||||
- bash tests/bin/travis.sh before
|
- bash tests/bin/travis.sh before
|
||||||
|
|
Loading…
Reference in New Issue