From b56ea15eba274da2bcc8322a5b706f2bf44eba3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgaras=20Janu=C5=A1auskas?= Date: Tue, 3 Dec 2019 14:58:52 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f381a86e..a970ba3a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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