backport Travis changes for master/7.3

This commit is contained in:
Ralf Becker 2018-10-18 12:27:18 +02:00
parent f54ddaca8e
commit 48a81d7542

View File

@ -31,13 +31,25 @@ 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"|"7.0"|"7.1"|"7.2"|"7.3"|"master")
"7"|"7.0"|"7.1"|"7.2")
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:~6.3';
;;
"7.3"|"master")
echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
;;
esac
- case $(phpenv version-name) in
"5.6")
composer require 'phpunit/phpunit:~5.7';
;;
"7"|"7.0")
composer require 'phpunit/phpunit:~6';
;;
*)
composer require 'phpunit/phpunit:~7';
;;
esac
#- php -m