Skip to content

Commit 0bd4a93

Browse files
committed
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". Closes #718
1 parent 7c02b15 commit 0bd4a93

3 files changed

Lines changed: 52 additions & 266 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ matrix:
1313
before_script:
1414
- composer update
1515
- if [[ "$TRAVIS_PHP_VERSION" == "7.0" ]]; then composer require --dev vimeo/psalm; fi
16+
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then composer require --dev php-coveralls/php-coveralls; fi
1617
script:
1718
- bin/check-syntax.sh
1819
- if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit; else php vendor/phpunit/phpunit/phpunit --configuration tools/phpunit --no-coverage; fi

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"require-dev": {
4747
"ext-pdo_sqlite": "*",
4848
"phpunit/phpunit": "~4.8",
49-
"satooshi/php-coveralls": "^1.0",
5049
"mikey179/vfsStream": "~1.6",
5150
"friendsofphp/php-cs-fixer": "^2.2"
5251
},

0 commit comments

Comments
 (0)