Skip to content

Commit

Permalink
Upload code coverage to scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Dec 29, 2015
1 parent c29d9bf commit 90673de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
imports:
- php

tools:
external_code_coverage:
timeout: 1200 # Timeout in seconds.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ before_script:
- composer install

script:
- vendor/bin/phpunit
- ./vendor/bin/phpunit --coverage-clover=coverage.clover

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

0 comments on commit 90673de

Please sign in to comment.