From 1db4a55e3103d60087a660cbea03d9fd5b4fd428 Mon Sep 17 00:00:00 2001 From: Meritoo Date: Wed, 3 Apr 2019 12:41:15 +0200 Subject: [PATCH] Fix integration with Coveralls (available as the badge in README.md) --- .coveralls.yml | 2 ++ CHANGELOG.md | 1 + composer.json | 1 + phpunit.xml.dist | 1 + 4 files changed, 5 insertions(+) create mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..38bd628 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1,2 @@ +coverage_clover: build/reports/coveralls/clover.xml +json_path: build/reports/coveralls/upload.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 0471507..4844a74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Common and useful classes, methods, exceptions etc. 2. Phing > configuration > minor updates 3. Implement Mutation Testing Framework (infection/infection package) 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 diff --git a/composer.json b/composer.json index f39c07b..ca10efa 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^2.14", "infection/infection": "^0.11.4", + "php-coveralls/php-coveralls": "^2.1", "phpunit/phpunit": "^8.0", "sebastian/phpcpd": "^4.1", "squizlabs/php_codesniffer": " ^2.9" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index f54393f..a8faf74 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -26,5 +26,6 @@ +