From 0bf112c2bb6be10bf89ec80e122da5d5782d8b7c Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Mon, 9 Oct 2017 17:30:01 +0200 Subject: [PATCH] Use phpunit 6.4.1 for PHP 7.1 --- .travis.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index b6726ff8..122ece4b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,8 @@ services: 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.6" ]; then phpenv config-add travis.ini; fi - - if [ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]; then composer global require phpunit/phpunit 6.4.1; fi + - if [ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]; then composer require phpunit/phpunit 6.4.1; fi + - composer install - mysql -e "create database IF NOT EXISTS test;" -uroot install: @@ -28,16 +29,9 @@ install: script: - cd smarty-phpunit -<<<<<<< HEAD - - if [[ $TRAVIS_PHP_VERSION = 7.* || $TRAVIS_PHP_VERSION = nightly ]]; then - ./vendor/bin/phpunit - else - phpunit ./ -======= - if [[ $TRAVIS_PHP_VERSION = 7.1 || $TRAVIS_PHP_VERSION = nightly ]]; then - $COMPOSER_BIN_DIR/phpunit ./; + ../vendor/bin/phpunit ./; else phpunit ./; ->>>>>>> parent of e9e97cc... Use phpunit 6.4.1 for PHP 7.1 fi