another try

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

View File

@ -4,4 +4,11 @@ filter:
excluded_paths: [tests/*] excluded_paths: [tests/*]
tools: tools:
php_code_coverage: true php_code_coverage: true
external_code_coverage: true build:
tests:
override:
-
command: 'phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'php-clover'

View File

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