mirror of
https://github.com/filp/whoops.git
synced 2026-09-12 18:56:22 +00:00
Merge remote-tracking branch 'graham/code-coverage'
This commit is contained in:
+5
-1
@@ -16,4 +16,8 @@ before_script:
|
||||
- composer install --no-interaction --prefer-source --dev
|
||||
|
||||
script:
|
||||
- phpunit --verbose
|
||||
- phpunit --verbose --coverage-clover build/logs/clover.xml
|
||||
|
||||
after_success:
|
||||
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.5" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;'
|
||||
- bash -c 'if [ "$TRAVIS_PHP_VERSION" == "5.5" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi;'
|
||||
|
||||
@@ -4,7 +4,8 @@ php errors for cool kids
|
||||
[](https://travis-ci.org/filp/whoops)
|
||||
[](https://packagist.org/packages/filp/whoops)
|
||||
[](https://packagist.org/packages/filp/whoops)
|
||||
[](https://scrutinizer-ci.com/g/filp/whoops/)
|
||||
[](https://scrutinizer-ci.com/g/filp/whoops)
|
||||
[](https://scrutinizer-ci.com/g/filp/whoops)
|
||||
|
||||
-----
|
||||
|
||||
|
||||
+7
-1
@@ -8,8 +8,14 @@
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist>
|
||||
<whitelist addUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">src/Whoops/</directory>
|
||||
<exclude>
|
||||
<directory>./docs</directory>
|
||||
<directory>./examples</directory>
|
||||
<directory>./tests</directory>
|
||||
<directory>./vendor</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user