Skip to content

Commit 87340f7

Browse files
committed
Adding PHPUnit config
1 parent 4b5c3db commit 87340f7

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ before_script:
1313
- sudo make install
1414
- echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
1515
- cd ..
16-
script: phpunit --coverage-text .
16+
script: phpunit --coverage-text --configuration=phpunit.xml

phpunit.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<phpunit colors="true">
2+
<testsuite name="phpunit-mockfunction Test Suite">
3+
<directory>./Tests</directory>
4+
</testsuite>
5+
6+
<groups>
7+
<exclude>
8+
<group>PHPUnit</group>
9+
</exclude>
10+
</groups>
11+
12+
<filter>
13+
<whitelist>
14+
<directory suffix=".php">./PHPUnit</directory>
15+
</whitelist>
16+
</filter>
17+
</phpunit>

0 commit comments

Comments
 (0)