Skip to content

Commit 36bec6b

Browse files
committed
Merge pull request #88 from alpha0010/master
Travis add PHP 7.0
2 parents 2dd709d + 47313be commit 36bec6b

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php:
77
- 5.4
88
- 5.5
99
- 5.6
10+
- 7.0
1011
- hhvm
1112

1213
env:

tests/travis/mysqli.phpunit.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010
</testsuite>
1111
</testsuites>
1212
<filter>
13-
<blacklist>
14-
<directory>../../vendor</directory>
15-
</blacklist>
13+
<whitelist processUncoveredFilesFromWhitelist="true">
14+
<directory suffix=".php">../../src</directory>
15+
<exclude>
16+
<directory suffix=".php">../../src/Drivers/Pdo</directory>
17+
<file>../../src/Drivers/SimpleConnection.php</file>
18+
</exclude>
19+
</whitelist>
1620
</filter>
1721
</phpunit>

tests/travis/pdo.phpunit.xml

+7-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@
1010
</testsuite>
1111
</testsuites>
1212
<filter>
13-
<blacklist>
14-
<directory>../../vendor</directory>
15-
</blacklist>
13+
<whitelist processUncoveredFilesFromWhitelist="true">
14+
<directory suffix=".php">../../src</directory>
15+
<exclude>
16+
<directory suffix=".php">../../src/Drivers/Mysqli</directory>
17+
<file>../../src/Drivers/SimpleConnection.php</file>
18+
</exclude>
19+
</whitelist>
1620
</filter>
1721
</phpunit>

0 commit comments

Comments
 (0)