From 4e58a6df6b0138988994233976fa9cc1e0504a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zden=C4=9Bk=20Draho=C5=A1?= Date: Sat, 3 Feb 2018 10:23:56 +0100 Subject: [PATCH] CI - fix updating dev tools on php 7.1 https://travis-ci.org/EdgedesignCZ/phpqa/jobs/336877234 Another php-timer issues introduced by phpcpd 4.0 https://github.com/sebastianbergmann/phpcpd/issues/155 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 54f619c7..74b14cda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ install: - if [ -n "$GITHUB_OAUTH_TOKEN" ]; then composer config -g github-oauth.github.com ${GITHUB_OAUTH_TOKEN}; fi; - composer install --no-interaction # test app with symfony3 components in latest php - - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then composer update && composer remove phpunit/phpunit --dev --no-interaction && composer require sebastian/phpcpd:~3.0 phploc/phploc:~4 phpunit/phpunit:~5.7 symfony/filesystem:~3 symfony/process:~3 symfony/finder:~3 && bin/suggested-tools.sh install; fi + - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then composer update && composer remove phpunit/phpunit --dev --no-interaction && composer remove sebastian/phpcpd --no-interaction && composer require sebastian/phpcpd:~3.0 phploc/phploc:~4 phpunit/phpunit:~5.7 symfony/filesystem:~3 symfony/process:~3 symfony/finder:~3 && bin/suggested-tools.sh install; fi # For HHVM phpmetrics report isn't generated, use phpmetrics v2 - if [[ $TRAVIS_PHP_VERSION = hhvm* ]] ; then composer update phpmetrics/phpmetrics; fi script: