Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add configuration for code coverage

  • Loading branch information...
commit 00a40a3d7247097d788f568331405306f269cd56 1 parent ccf89d9
@techotaku authored
Showing with 8 additions and 1 deletion.
  1. +3 −1 .travis.yml
  2. +5 −0 phpunit.xml.dist
View
4 .travis.yml
@@ -3,4 +3,6 @@ language: php
php:
- 5.3
- 5.4
- - 5.5
+ - 5.5
+
+script: phpunit --coverage-text
View
5 phpunit.xml.dist
@@ -5,4 +5,9 @@
<directory suffix="Test.php">./test</directory>
</testsuite>
</testsuites>
+ <filter>
+ <whitelist processUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">./src</directory>
+ </whitelist>
+ </filter>
</phpunit>
Please sign in to comment.
Something went wrong with that request. Please try again.