Skip to content

Commit

Permalink
Code coverage on Scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Stadly committed Nov 14, 2018
1 parent bad4c70 commit 9cacd22
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ checks:
fix_doc_comments: true

tools:
external_code_coverage:
timeout: 600
runs: 6
php_loc: true

build:
Expand All @@ -34,3 +31,12 @@ build:
tests:
override:
- php-scrutinizer-run
coverage:
environment:
php: 7.2
tests:
override:
- command: composer test
coverage:
file: build/clover.xml
format: clover
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ script:
- vendor/bin/phpstan analyse
- vendor/bin/phpstan analyse -c phpstan.tests.neon.dist
- vendor/bin/phpunit

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml

0 comments on commit 9cacd22

Please sign in to comment.