mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
updating phpUnit versions
we previously used 6.3 for everything but PHP 5.6, now we (try) to use latest 6 for 7.0, and latest 7 for 7.1+ incl. master who errors with 6.3
This commit is contained in:
parent
adee0b4c52
commit
65f0891693
13
.travis.yml
13
.travis.yml
@ -31,13 +31,22 @@ 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"|"7.0"|"7.1"|"7.2"|"7.3"|"master")
|
"7"|"7.0"|"7.1"|"7.2"|"7.3"|"master")
|
||||||
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:~6.3';
|
;;
|
||||||
|
esac
|
||||||
|
- case $(phpenv version-name) in
|
||||||
|
"5.6")
|
||||||
|
composer require 'phpunit/phpunit:~5.7';
|
||||||
|
;;
|
||||||
|
"7")
|
||||||
|
composer require 'phpunit/phpunit:~6';
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
composer require 'phpunit/phpunit:~7';
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
#- php -m
|
#- php -m
|
||||||
|
Loading…
Reference in New Issue
Block a user