Skip to content

Commit bc037fc

Browse files
authored
Merge pull request #4 from fabacino/feature/add-phpunit-xml
Add phpunit.xml
2 parents c3db495 + 1310250 commit bc037fc

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
/coverage.xml
12
/vendor/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install:
1111
- composer install
1212

1313
script:
14-
- vendor/bin/phpunit --whitelist=src --coverage-clover=coverage.xml tests
14+
- vendor/bin/phpunit
1515

1616
after_success:
1717
- bash <(curl -s https://codecov.io/bash)

phpunit.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit>
3+
<testsuites>
4+
<testsuite name="Debug Test Suite">
5+
<directory>./tests/</directory>
6+
</testsuite>
7+
</testsuites>
8+
9+
<filter>
10+
<whitelist>
11+
<directory>./src/</directory>
12+
</whitelist>
13+
</filter>
14+
15+
<logging>
16+
<log type="coverage-clover" target="coverage.xml"/>
17+
</logging>
18+
</phpunit>

0 commit comments

Comments
 (0)