Skip to content

Commit 6740569

Browse files
committed
Merge pull request kbsali#100 from JanMalte/travis-configuration
kbsali#99 added configuration for travis-ci.com and code coverage reporting to scrutinizer-ci.com
2 parents afff2c8 + dcfb921 commit 6740569

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
phpunit.xml
22
composer.lock
33
composer.phar
4-
vendor
4+
vendor
5+
coverage.clover
6+

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ before_script:
99

1010
script:
1111
- phpunit --coverage-text
12+
13+
after_script:
14+
- wget https://scrutinizer-ci.com/ocular.phar
15+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@
2828
<directory suffix=".php">./lib/Redmine/</directory>
2929
</whitelist>
3030
</filter>
31+
32+
<logging>
33+
<log type="coverage-clover" target="coverage.clover"/>
34+
</logging>
35+
3136
</phpunit>

0 commit comments

Comments
 (0)