From 1b93d1fa49abaf99ffa78aef5358224e3a6b29b2 Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst Date: Wed, 6 Dec 2017 15:57:23 +0000 Subject: [PATCH] Only install php-coveralls in travis run. This prevents a lot of -dev dependencies in composer.lock which are not used otherwise and generate 'scary' warnings like "Package x is abandoned". --- .travis.yml | 3 +++ composer.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d7eab083c..3889b9307 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,9 @@ matrix: allow_failures: - php: hhvm +before_script: + - if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then composer require --dev php-coveralls/php-coveralls; fi + script: - ant diff --git a/composer.json b/composer.json index c8b7bfb0f..17a3296a3 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,6 @@ "phpmd/phpmd": "~1.5", "sensiolabs/security-checker": "~1.1", "phpunit/phpunit": "~3.7", - "satooshi/php-coveralls": "~0.6.1", "sebastian/phpcpd": "~1.4", "mockery/mockery": "~0.9" },