Skip to content

Commit

Permalink
Adding code coverage support to the Scrutinizer and TravisCI configur…
Browse files Browse the repository at this point in the history
…ation files.
  • Loading branch information
allebb committed Jul 7, 2015
1 parent 61edbad commit 56677ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .scrutinizer.yml
Expand Up @@ -6,4 +6,5 @@ checks:
tools:
php_code_sniffer:
config:
standard: "PSR2"
standard: "PSR2"
external_code_coverage: true
6 changes: 5 additions & 1 deletion .travis.yml
Expand Up @@ -15,4 +15,8 @@ sudo: false

install: travis_retry composer install --no-interaction --prefer-source --dev

script: vendor/bin/phpunit
script: 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 56677ab

Please sign in to comment.