Fix integration with Coveralls (available as the badge in README.md)

This commit is contained in:
Meritoo
2019-04-03 12:41:15 +02:00
parent ca4bf05b38
commit 1db4a55e31
4 changed files with 5 additions and 0 deletions

2
.coveralls.yml Normal file
View File

@@ -0,0 +1,2 @@
coverage_clover: build/reports/coveralls/clover.xml
json_path: build/reports/coveralls/upload.json

View File

@@ -8,6 +8,7 @@ Common and useful classes, methods, exceptions etc.
2. Phing > configuration > minor updates 2. Phing > configuration > minor updates
3. Implement Mutation Testing Framework (infection/infection package) 3. Implement Mutation Testing Framework (infection/infection package)
4. Travis CI > run many tasks using Phing (instead of PHPUnit only) 4. Travis CI > run many tasks using Phing (instead of PHPUnit only)
5. Fix integration with [Coveralls](https://www.coveralls.io) (available as the badge in [README.md](README.md))
# 1.0.1 # 1.0.1

View File

@@ -23,6 +23,7 @@
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^2.14", "friendsofphp/php-cs-fixer": "^2.14",
"infection/infection": "^0.11.4", "infection/infection": "^0.11.4",
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^8.0", "phpunit/phpunit": "^8.0",
"sebastian/phpcpd": "^4.1", "sebastian/phpcpd": "^4.1",
"squizlabs/php_codesniffer": " ^2.9" "squizlabs/php_codesniffer": " ^2.9"

View File

@@ -26,5 +26,6 @@
<logging> <logging>
<log type="coverage-html" target="build/reports/phpunit_coverage/html"/> <log type="coverage-html" target="build/reports/phpunit_coverage/html"/>
<log type="coverage-clover" target="build/reports/coveralls/clover.xml"/>
</logging> </logging>
</phpunit> </phpunit>