mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Add PHPUnit 4.8 to test matrix
This commit is contained in:
parent
70926fbb7f
commit
19e95e2fb2
1 changed files with 9 additions and 3 deletions
10
.travis.yml
10
.travis.yml
|
@ -9,7 +9,10 @@ php:
|
|||
- 7.1
|
||||
|
||||
env:
|
||||
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue