Skip to content
Permalink
Browse files

Add PHPUnit 4.8 to test matrix

  • Loading branch information...
chinpei215 committed Mar 11, 2017
1 parent 70926fb commit 19e95e2fb28d297527cd8fc9a449a8f62ccf6543
Showing with 9 additions and 3 deletions.
  1. +9 −3 .travis.yml
@@ -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

@@ -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"

0 comments on commit 19e95e2

Please sign in to comment.
You can’t perform that action at this time.