try to fix coverage report

This commit is contained in:
fzerorubigd 2014-09-13 13:58:01 +04:30
parent d146b0a7f4
commit 343dc48637
No known key found for this signature in database
GPG Key ID: D6EE858AF9D2999A
2 changed files with 4 additions and 3 deletions

View File

@ -4,3 +4,4 @@ filter:
excluded_paths: [tests/*]
tools:
php_code_coverage: true
external_code_coverage: true

View File

@ -7,5 +7,5 @@ php:
branches:
except:
- php-52
before_script: composer install
script: "./vendor/bin/phpunit && ./vendor/bin/phpcs -n src/"
before_script: composer install && wget https://scrutinizer-ci.com/ocular.phar
script: "./vendor/bin/phpunit --coverage-clover=coverage.clover && php ocular.phar code-coverage:upload --format=php-clover coverage.clover && ./vendor/bin/phpcs -n src/"