Skip to content

Commit 295688b

Browse files
committed
Turn on strict coverage testing
1 parent 3a761a3 commit 295688b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ before_script:
1616

1717
script:
1818
- php phpunit.phar --version
19-
- php phpunit.phar -v -c tests/phpunit.xml
19+
- php phpunit.phar -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky
2020

2121
notifications:
2222
email: false

tests/phpunit.xml

+5
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@
2020
<directory suffix="Test.php">./</directory>
2121
</testsuite>
2222

23+
<filter>
24+
<whitelist>
25+
<file>../Mobile_Detect.php</file>
26+
</whitelist>
27+
</filter>
2328
</phpunit>

0 commit comments

Comments
 (0)