Enable 7.1 tests

This commit is contained in:
Mike Jolley 2017-01-11 12:58:10 +00:00
parent b240e10b91
commit ab76036c1f
2 changed files with 2 additions and 7 deletions

View File

@ -6,8 +6,6 @@ sudo: false
php:
- 5.2
- 5.3
# - 5.4
# - 5.5
- 5.6
- 7.0
- 7.1
@ -21,8 +19,6 @@ matrix:
include:
- php: 5.6
env: WP_VERSION=latest WP_MULTISITE=1
allow_failures:
- php: 7.1
before_script:
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION

View File

@ -30,7 +30,7 @@ if [ $1 == 'before' ]; then
elif [ $1 == 'during' ]; then
## Only run on 7.0 box.
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then
if [ $TRAVIS_PHP_VERSION == "7.0" ]; then
# WordPress Coding Standards.
# @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
# @link http://pear.php.net/package/PHP_CodeSniffer/
@ -50,8 +50,7 @@ elif [ $1 == 'during' ]; then
elif [ $1 == 'after' ]; then
## Only run on 7.0 box.
if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then
# Get scrutinizer ocular and run it
if [ $TRAVIS_PHP_VERSION == "7.0" ]; then
wget https://scrutinizer-ci.com/ocular.phar
chmod +x ocular.phar
php ocular.phar code-coverage:upload --format=php-clover ./tmp/clover.xml