Skip to content

Commit

Permalink
Ditch direct dev deps php-coveralls
Browse files Browse the repository at this point in the history
Download the phar instead.
  • Loading branch information
j0k3r committed Oct 25, 2020
1 parent 17ce20d commit 2237e20
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 432 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ script:
- if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
- if [ "$CS_FIXER" = "run" ]; then php bin/phpstan analyse --no-progress ; fi;

after_script:
after_success:
- |
if [ $COVERAGE = run ]; then
php bin/php-coveralls -v -x build/logs/clover.xml
if [[ "$PHPUNIT_FLAGS" != "" ]]; then
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.2/php-coveralls.phar
chmod +x php-coveralls.phar
php php-coveralls.phar -v -x build/logs/clover.xml
fi
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.3",
"friendsofphp/php-cs-fixer": "~2.0",
"php-coveralls/php-coveralls": "~2.0",
"php-http/mock-client": "^1.3",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12",
Expand Down
Loading

0 comments on commit 2237e20

Please sign in to comment.