Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ncou committed Mar 6, 2021
1 parent 2e0795a commit 0c32388
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage_clover: clover.xml
json_path: coveralls-upload.json
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ php:
- 7.3
- 7.4

env:
global:
- XDEBUG_MODE=coverage

matrix:
fast_finish: true
include:
Expand All @@ -24,7 +28,7 @@ before_script:

after_script:
# Submit coverage report to Coveralls servers, see .coveralls.yml
- travis_retry php vendor/bin/php-coveralls -v
- travis_retry php vendor/bin/coveralls -v
# Submit coverage report to codecov.io
- bash <(curl -s https://codecov.io/bash)

Expand Down
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
},
"scripts": {
"phpunit": "phpunit --colors=always",
"test-coverage": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-clover clover.xml"
],
"test-coverage": "phpunit --coverage-clover clover.xml",
"phpstan": "phpstan analyse --ansi",
"check-style": "phpcs src tests",
"fix-style": "phpcbf src tests"
Expand Down

0 comments on commit 0c32388

Please sign in to comment.