Skip to content

Commit bec1c3f

Browse files
committed
active codecov
1 parent 46ec5eb commit bec1c3f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ script:
1313
- ./vendor/bin/phpunit --coverage-clover=coverage.xml
1414

1515
after_success:
16+
- export CODECOV_TOKEN="ecbc8fbc-ad66-483d-82f9-266f46626dbf"
1617
- bash <(curl -s https://codecov.io/bash)

phpunit.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
<directory suffix="Test.php">./tests/repositories</directory>
2424
</testsuite>
2525
</testsuites>
26+
<filter>
27+
<whitelist processUncoveredFilesFromWhitelist="true">
28+
<directory suffix=".php">./src</directory>
29+
</whitelist>
30+
</filter>
2631
<logging>
2732
<log type="coverage-clover" target="clover.xml"/>
2833
</logging>

0 commit comments

Comments
 (0)