From 7e416b12f46b9092720ca87dbdfb836753647024 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 18 Aug 2017 10:56:38 +0200 Subject: [PATCH] use PHPunit 5.7 for PHP 5.6 and current PHPunit for everything else --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9a42a0d932..058681f8c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,22 +33,21 @@ before_script: yes "" | pecl install igbinary; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; phpenv config-rm xdebug.ini; + composer require 'phpunit/phpunit:~5.7'; ;; "7.0"|"7.1") yes "" | pecl install apcu; echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; phpenv config-rm xdebug.ini; - ;; + composer require 'phpunit/phpunit'; + ;; "hhvm") ;; esac #- php -m - #- curl https://svn.stylite.de/fix_mrconfig 2>/dev/null | php - sed 's/^update = git stash -q/update = \#git stash -q/g' .mrconfig - mr --trust-all --stats up - (cd activesync; mr --trust-all --stats up) - # installing phpunit in version suitable for used PHP version - - composer require 'phpunit/phpunit:~4.8|~5.4' # create data directory - sudo mkdir /var/lib/egroupware - sudo chown travis /var/lib/egroupware