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