Skip to content

Commit b9e54a6

Browse files
author
Andy Vaughn
committed
fix phpunit config
1 parent e5fd5ed commit b9e54a6

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
phpunit.xml
33
composer.lock
44
composer.phar
5-
vendor/
5+
vendor/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cache:
1313

1414
install: composer install
1515

16-
script: vendor/bin/phpunit --configuration test/phpunit.xml --coverage-clover=coverage.xml
16+
script: vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
1717

1818
after_success:
1919
- bash <(curl -s https://codecov.io/bash)

phpunit.xml.dist

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<phpunit bootstrap="_bootstrap.php" backupGlobals="false" processIsolation="false">
2+
<testsuite name="AllTests">
3+
<directory>tests</directory>
4+
</testsuite>
5+
<filter>
6+
<whitelist processUncoveredFilesFromWhitelist="true">
7+
<directory suffix=".php">src</directory>
8+
</whitelist>
9+
</filter>
10+
</phpunit>

0 commit comments

Comments
 (0)