Code Coverage
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
vendor
|
||||
composer.lock
|
||||
.idea
|
||||
.php_cs.cache
|
||||
.php_cs.cache
|
||||
build
|
||||
@@ -1,4 +1,7 @@
|
||||
language: php
|
||||
env:
|
||||
global:
|
||||
- CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID
|
||||
dist: precise
|
||||
php:
|
||||
- '7.1'
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "@php vendor/bin/phpunit --verbose",
|
||||
"test": "@php vendor/bin/phpunit --verbose --coverage-text --coverage-clover build/logs/clover.xml",
|
||||
"style": "@php vendor/bin/php-cs-fixer fix"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<directory suffix="Test.php">./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>./src</directory>
|
||||
|
||||
Reference in New Issue
Block a user