Skip to content

Commit a284437

Browse files
author
Yang
committed
Update phpunit config + travis CI
1 parent ce144cd commit a284437

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ matrix:
1313
include:
1414
# Minimum supported dependencies with the latest and oldest PHP version
1515
- php: 7.4
16-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
16+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
1717
- php: 7.2
18-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
18+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
1919
# Test the latest stable release
2020
- php: 7.2
2121
- php: 7.3

phpunit.xml.dist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,20 @@
88
failOnRisky="true"
99
failOnWarning="true"
1010
>
11+
<testsuites>
12+
<testsuite name="Project Test Suite">
13+
<directory>tests</directory>
14+
</testsuite>
15+
</testsuites>
16+
<filter>
17+
<whitelist>
18+
<directory>src</directory>
19+
<exclude>
20+
<directory>src/*Bundle/Resources</directory>
21+
<directory>src/*/*Bundle/Resources</directory>
22+
<directory>src/*/Bundle/*Bundle/Resources</directory>
23+
</exclude>
24+
</whitelist>
25+
</filter>
1126
</phpunit>
1227

0 commit comments

Comments
 (0)