Skip to content

Commit 05026e8

Browse files
committed
Enabled the code coverage reporting on scrutinizer-ci
1 parent bc06242 commit 05026e8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ php:
66

77
before_script: composer install --dev
88

9-
script: phpunit --coverage-text
9+
script: phpunit --coverage-text --coverage-clover=coverage.clover
10+
11+
after_script:
12+
- wget https://scrutinizer-ci.com/ocular.phar
13+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Tests/ScriptHandlerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Incenteev\ParameterHandler\Tests;
44

55
use Incenteev\ParameterHandler\ScriptHandler;
6-
use Prophecy\Argument;
76
use Prophecy\PhpUnit\ProphecyTestCase;
87
use Symfony\Component\Filesystem\Filesystem;
98
use Symfony\Component\Yaml\Yaml;

0 commit comments

Comments
 (0)