mirror of
https://github.com/php-win-ext/MaxMind-DB-Reader-php.git
synced 2026-04-29 11:43:14 +02:00
Added separate phpunit config for coveralls
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user