Skip to content

Commit

Permalink
Only install php-coveralls in travis run.
Browse files Browse the repository at this point in the history
This prevents a lot of -dev dependencies in composer.lock which are
not used otherwise and generate 'scary' warnings like "Package x is
abandoned".
  • Loading branch information
thijskh committed Dec 6, 2017
1 parent 5a00d98 commit 1b93d1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 1b93d1f

Please sign in to comment.