Skip to content

Commit

Permalink
Merge pull request #404 from j0k3r/ditch-coverall-deps
Browse files Browse the repository at this point in the history
Ditch direct dev deps `php-coveralls`
  • Loading branch information
j0k3r authored Oct 25, 2020
2 parents 701144f + e3aea38 commit 88c7b16
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 413 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ cache:
jobs:
fast_finish: true
include:
- php: 7.2
env: CS_FIXER=run
- php: 7.3
env: CS_FIXER=run
- php: 7.2
env: COVERAGE=run
- php: 7.4
- php: nightly
Expand Down Expand Up @@ -64,10 +64,13 @@ before_script:
script:
- php bin/simple-phpunit -v $PHPUNIT_FLAGS
- if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
- if [ "$CS_FIXER" = "run" ]; then php bin/phpstan analyse ; fi;
- if [ "$CS_FIXER" = "run" ]; then php bin/phpstan analyse --no-progress ; fi;

after_success:
- |
if [ "$COVERAGE" = "run" ]; then
php bin/php-coveralls -v
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 @@ -50,7 +50,6 @@
"doctrine/doctrine-fixtures-bundle": "^3.0",
"friendsofphp/php-cs-fixer": "~2.0",
"m6web/redis-mock": "dev-predis-1.x",
"php-coveralls/php-coveralls": "^2.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.6",
"phpstan/phpstan-deprecation-rules": "^0.12.3",
Expand Down
Loading

0 comments on commit 88c7b16

Please sign in to comment.