From 2f1be2a5802aa78384192ab312b381c561e71d91 Mon Sep 17 00:00:00 2001 From: fufroma Date: Fri, 21 Mar 2014 15:19:07 +0100 Subject: [PATCH] Active le code coverage --- .scrutinizer.yml | 2 ++ .travis.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .scrutinizer.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 00000000..d73cd743 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,2 @@ +tools: + external_code_coverage: true diff --git a/.travis.yml b/.travis.yml index 5d867b0a..ec4eb5ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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