Skip to content

Commit 4cbe719

Browse files
Improved testing
1 parent cc5fddd commit 4cbe719

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ php:
66
- 5.6
77
- hhvm
88

9-
before_install:
10-
- composer self-update
11-
9+
sudo: false
10+
1211
install:
13-
- composer install --prefer-source --no-interaction --dev
12+
- travis_retry composer install --no-interaction --prefer-source
1413

15-
script: phpunit
14+
script:
15+
- vendor/bin/phpunit

phpunit.xml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,23 @@
77
convertNoticesToExceptions="true"
88
convertWarningsToExceptions="true"
99
processIsolation="false"
10+
stopOnError="false"
1011
stopOnFailure="false"
11-
syntaxCheck="false"
12+
syntaxCheck="true"
13+
strict="false"
14+
verbose="true"
1215
>
1316
<testsuites>
14-
<testsuite name="Package Test Suite">
15-
<directory suffix=".php">./tests/</directory>
17+
<testsuite name="API Test Suite">
18+
<directory suffix="Test.php">./tests</directory>
1619
</testsuite>
1720
</testsuites>
21+
<filter>
22+
<whitelist processUncoveredFilesFromWhitelist="true">
23+
<directory suffix=".php">./src</directory>
24+
<exclude>
25+
<directory>./src/config</directory>
26+
</exclude>
27+
</whitelist>
28+
</filter>
1829
</phpunit>

0 commit comments

Comments
 (0)