Skip to content

Commit

Permalink
Add PHPUnit 4.8 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
chinpei215 committed Mar 25, 2017
1 parent 70926fb commit 19e95e2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Expand Up @@ -9,14 +9,20 @@ php:
- 7.1

env:
- DB=mysql
matrix:
- DB=mysql
global:
- PHPUNIT=3.7.33

services:
- memcached

matrix:
fast_finish: true
include:
- php: 5.3
env: DB=mysql PHPUNIT=4.8.35

- php: 5.4
env: DB=pgsql

Expand All @@ -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"
Expand Down

0 comments on commit 19e95e2

Please sign in to comment.