mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-22 21:19:46 +05:30
Add code coverage for scrutinizer
This commit is contained in:
parent
9287f587fc
commit
028d91f670
@ -20,9 +20,13 @@ install:
|
|||||||
- composer update --no-interaction --prefer-dist $DEPENDENCIES
|
- composer update --no-interaction --prefer-dist $DEPENDENCIES
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit
|
- vendor/bin/phpunit --coverage-clover=coverage.clover
|
||||||
- vendor/bin/phpstan analyse -l 6 -c phpstan.neon src tests
|
- vendor/bin/phpstan analyse -l 6 -c phpstan.neon src tests
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- wget https://scrutinizer-ci.com/ocular.phar
|
||||||
|
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
Loading…
Reference in New Issue
Block a user