Skip to content
This repository was archived by the owner on Sep 3, 2020. It is now read-only.

Commit 85f1327

Browse files
committed
travis-ready phpunit.xml
1 parent 6349225 commit 85f1327

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
/tests/coverage
33
/vendor
44
composer.lock
5-
.phpstorm.meta.php
6-
phpunit.xml
5+
.phpstorm.meta.php

phpunit.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false"
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
syntaxCheck="false"
12+
>
13+
<testsuites>
14+
<testsuite name="Package Test Suite">
15+
<directory suffix=".php">./tests/</directory>
16+
</testsuite>
17+
</testsuites>
18+
<php>
19+
<env name="HOST" value="127.0.0.1"/>
20+
<env name="PORT" value="5672"/>
21+
</php>
22+
<filter>
23+
<whitelist>
24+
<directory suffix=".php">src/</directory>
25+
</whitelist>
26+
</filter>
27+
<logging>
28+
<log type="coverage-html" target="tests/coverage" charset="UTF-8" yui="true" highlight="true"/>
29+
</logging>
30+
</phpunit>

0 commit comments

Comments
 (0)