Added separate phpunit config for coveralls

This commit is contained in:
Gregory Oschwald
2013-10-21 10:37:00 -07:00
parent 7ab0be2a15
commit 5e3a76b905
3 changed files with 21 additions and 6 deletions
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
<testsuites>
<testsuite name="MaxMind DB Test Suite">
<directory suffix="Test.php">./tests/MaxMind/Db/Test/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/MaxMind/Db/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
+1 -1
View File
@@ -28,7 +28,7 @@ before_install:
script:
- mkdir -p build/logs
- phpcs --standard=PSR2 src/
- phpunit -c phpunit.xml.dist
- phpunit -c .coveralls-phpunit.xml.dist
- echo "extension = ext/modules/maxminddb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- phpunit
-5
View File
@@ -12,9 +12,4 @@
<directory suffix=".php">./src/MaxMind/Db/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>