From 3bb6dc09a456979f85c682514237e1b76e22cb0b Mon Sep 17 00:00:00 2001 From: fzerorubigd Date: Sat, 13 Sep 2014 17:17:09 +0430 Subject: [PATCH] another try --- .scrutinizer.yml | 9 ++++++++- .travis.yml | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index a2f3a6e..2ec7f3a 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -4,4 +4,11 @@ filter: excluded_paths: [tests/*] tools: php_code_coverage: true - external_code_coverage: true \ No newline at end of file +build: + tests: + override: + - + command: 'phpunit --coverage-clover=coverage.xml' + coverage: + file: 'coverage.xml' + format: 'php-clover' \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 7d86044..e15147b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,5 @@ php: branches: except: - php-52 -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/" +before_script: composer install +script: "./vendor/bin/phpunit && ./vendor/bin/phpcs -n src/"