Test phpunit 6.4.1

This commit is contained in:
Uwe Tews
2017-10-09 14:08:36 +02:00
parent d76a00673b
commit 0cad914147

View File

@@ -20,7 +20,7 @@ services:
before_script: before_script:
- if [ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]; then travis_retry composer --prefer-source --dev install; fi - if [ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]; then travis_retry composer --prefer-source --dev install; fi
- if [ ${TRAVIS_PHP_VERSION:0:3} <= "5.6" ]; then phpenv config-add travis.ini; fi - if [ ${TRAVIS_PHP_VERSION:0:3} <= "5.6" ]; then phpenv config-add travis.ini; fi
- if [ ${TRAVIS_PHP_VERSION:0:3} == "7.*" ]; then composer global require phpunit/phpunit 6.4.1; fi - if [ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]; then composer global require phpunit/phpunit 6.4.1; fi
- mysql -e "create database IF NOT EXISTS test;" -uroot - mysql -e "create database IF NOT EXISTS test;" -uroot
install: install:
@@ -28,7 +28,7 @@ install:
script: script:
- cd smarty-phpunit - cd smarty-phpunit
- if [[ $TRAVIS_PHP_VERSION = 7.* || $TRAVIS_PHP_VERSION = nightly ]]; then - if [[ $TRAVIS_PHP_VERSION = 7.1 || $TRAVIS_PHP_VERSION = nightly ]]; then
./vendor/bin/phpunit; ./vendor/bin/phpunit;
else else
phpunit ./; phpunit ./;