Clean up and allow PHP 7.2 and PHP 7.3 to fail

This commit is contained in:
Sebastian Bergmann 2017-10-17 12:37:33 +02:00 committed by GitHub
parent 2fbe184b1b
commit 5798db38d6

View File

@ -8,6 +8,9 @@ php:
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures:
- php: 7.2
- php: master
services: services:
- memcached - memcached
@ -34,15 +37,12 @@ before_script:
phpenv config-rm xdebug.ini; phpenv config-rm xdebug.ini;
composer require 'phpunit/phpunit:~5.7'; composer require 'phpunit/phpunit:~5.7';
;; ;;
"7"|"7.0"|"7.1") "7"|"7.0"|"7.1"|"7.2"|"7.3")
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'; composer require 'phpunit/phpunit:~6.3';
;; ;;
"hhvm")
composer require 'phpunit/phpunit:~5.7';
;;
esac esac
#- php -m #- php -m
- sed 's/^update = git stash -q/update = \#git stash -q/g' .mrconfig - sed 's/^update = git stash -q/update = \#git stash -q/g' .mrconfig