mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +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;
|
yes "" | pecl install igbinary;
|
||||||
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
|
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
|
||||||
phpenv config-rm xdebug.ini;
|
phpenv config-rm xdebug.ini;
|
||||||
|
composer require 'phpunit/phpunit:~5.7';
|
||||||
;;
|
;;
|
||||||
"7.0"|"7.1")
|
"7.0"|"7.1")
|
||||||
yes "" | pecl install apcu;
|
yes "" | pecl install apcu;
|
||||||
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
|
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
|
||||||
phpenv config-rm xdebug.ini;
|
phpenv config-rm xdebug.ini;
|
||||||
;;
|
composer require 'phpunit/phpunit';
|
||||||
|
;;
|
||||||
"hhvm")
|
"hhvm")
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#- php -m
|
#- 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
|
- sed 's/^update = git stash -q/update = \#git stash -q/g' .mrconfig
|
||||||
- mr --trust-all --stats up
|
- mr --trust-all --stats up
|
||||||
- (cd activesync; 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
|
# create data directory
|
||||||
- sudo mkdir /var/lib/egroupware
|
- sudo mkdir /var/lib/egroupware
|
||||||
- sudo chown travis /var/lib/egroupware
|
- sudo chown travis /var/lib/egroupware
|
||||||
|
Loading…
Reference in New Issue
Block a user