summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@googlemail.com>2017-10-09 14:08:36 +0200
committerUwe Tews <uwe.tews@googlemail.com>2017-10-09 14:08:36 +0200
commit0cad91414756512a965ebabe63315ebbdb0ab1d5 (patch)
tree85a43354ec0c8907fdf46b59f0a2640b7f533928 /.travis.yml
parentd76a00673b7ab621b5f1aa3d5d527cdf78b2ff22 (diff)
downloadsmarty-0cad91414756512a965ebabe63315ebbdb0ab1d5.tar.gz
smarty-0cad91414756512a965ebabe63315ebbdb0ab1d5.tar.bz2
smarty-0cad91414756512a965ebabe63315ebbdb0ab1d5.zip
Test phpunit 6.4.1
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index d5dacefb..804367ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ 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.*" ]; 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
install:
@@ -28,7 +28,7 @@ install:
script:
- 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;
else
phpunit ./;