Update .travis.yml

This commit is contained in:
Edgaras Janušauskas 2019-12-03 14:58:52 +02:00 committed by GitHub
parent d46fadddf8
commit b56ea15eba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,17 @@
language: php
dist: xenial
php:
- 5.6
- 7.3
- 7.4snapshot
- 7.4
env:
matrix:
- DB=mysql
global:
- PHPUNIT=3.7.33
- PHPUNIT=5.7.19
services:
- memcached
@ -20,31 +22,33 @@ services:
matrix:
fast_finish: true
include:
- php: 5.3
env: DB=mysql PHPUNIT=3.7.33
dist: precise
- php: 5.6
env: DB=pgsql
env: DB=pgsql PHPUNIT=3.7.33
- php: 7.0
env: DB=sqlite
- php: 7.3
env: PHPCS=1
env: DB=sqlite PHPUNIT=3.7.33
- php: 7.1
env: DB=mysql PHPUNIT=5.7.19
env: DB=sqlite
- php: 7.2
env: DB=mysql PHPUNIT=5.7.19
env: DB=pgsql
- php: 7.3
env: DB=mysql PHPUNIT=5.7.19
exclude:
env: DB=sqlite
- php: 7.2
env: DB=mysql
- php: 7.3
env: DB=mysql
env: PHPCS=1
allow_failures:
- php: 7.4
before_script:
- if [[ ${TRAVIS_PHP_VERSION:0:3} =~ ^7\.[23]$ ]] ; then pear config-set preferred_state snapshot && yes "" | pecl install mcrypt ; fi
- if [[ ${TRAVIS_PHP_VERSION:0:3} =~ ^7\.[234]$ ]] ; then pear config-set preferred_state snapshot && yes "" | pecl install mcrypt ; fi
- composer require "phpunit/phpunit=$PHPUNIT"
- echo "require_once 'vendors/autoload.php';" >> app/Config/bootstrap.php
- sudo locale-gen de_DE