mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
use PHPunit 5.7 for PHP 5.6 and current PHPunit for everything else
This commit is contained in:
parent
251d7d4887
commit
7e416b12f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user