From 19e95e2fb28d297527cd8fc9a449a8f62ccf6543 Mon Sep 17 00:00:00 2001 From: chinpei215 Date: Sat, 11 Mar 2017 10:22:41 +0900 Subject: [PATCH] Add PHPUnit 4.8 to test matrix --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index eac15fc90..e416c915c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,10 @@ php: - 7.1 env: - - DB=mysql + matrix: + - DB=mysql + global: + - PHPUNIT=3.7.33 services: - memcached @@ -17,6 +20,9 @@ services: matrix: fast_finish: true include: + - php: 5.3 + env: DB=mysql PHPUNIT=4.8.35 + - php: 5.4 env: DB=pgsql @@ -28,8 +34,8 @@ matrix: before_script: - - sh -c "composer global require 'phpunit/phpunit=3.7.33'" - - sh -c "ln -s ~/.composer/vendor/phpunit/phpunit/PHPUnit ./vendors/PHPUnit" + - composer global require "phpunit/phpunit=$PHPUNIT" + - echo "require_once '$HOME/.composer/vendor/autoload.php';" >> app/Config/bootstrap.php - sudo locale-gen de_DE - sudo locale-gen es_ES - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE cakephp_test;'; fi"