1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00

Update Travis to run on PHP 7.2

This commit is contained in:
Niklas Keller 2017-06-21 14:50:38 +02:00
parent d429dfc2aa
commit ec0486c7f1

View File

@ -13,16 +13,18 @@ matrix:
fast_finish: true
install:
- composer install
# --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722
- composer update -n --prefer-dist --ignore-platform-reqs
- composer require satooshi/php-coveralls dev-master --ignore-platform-reqs
- travis/install-eio.sh
- travis/install-uv.sh
script:
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
after_script:
- composer require satooshi/php-coveralls:dev-master
- php vendor/bin/coveralls -v
cache: