Active le code coverage

This commit is contained in:
fufroma 2014-03-21 15:19:07 +01:00
parent 926adef79c
commit 2f1be2a580
2 changed files with 8 additions and 2 deletions

2
.scrutinizer.yml Normal file
View File

@ -0,0 +1,2 @@
tools:
external_code_coverage: true

View File

@ -1,7 +1,11 @@
language: php
before_script:
- cd phpunit
php:
- 5.5
- 5.4
- 5.3
script: phpunit --coverage-clover=coverage.clover
before_script:
- cd phpunit
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover