From ec0486c7f18c4dad4f61291115c8ec44a4e46fce Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Wed, 21 Jun 2017 14:50:38 +0200 Subject: [PATCH] Update Travis to run on PHP 7.2 --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d439e93..e6e88e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: