Travis reports PHP 7.0 as "7" and therefore did not install PHPunit version we required

This commit is contained in:
Ralf Becker 2017-08-18 12:11:14 +02:00
parent 946ff478c4
commit f0a07528dc

View File

@ -35,7 +35,7 @@ before_script:
phpenv config-rm xdebug.ini;
composer require 'phpunit/phpunit:~5.7';
;;
"7.0"|"7.1")
"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;