Code Coverage

This commit is contained in:
Matias Navarro Carter
2018-10-12 15:42:02 -03:00
parent 60d13ae2ce
commit fd0ebf5f33
4 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ vendor
composer.lock
.idea
.php_cs.cache
build

View File

@@ -1,4 +1,7 @@
language: php
env:
global:
- CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID
dist: precise
php:
- '7.1'

View File

@@ -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"
}
}

View File

@@ -15,6 +15,7 @@
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>