Skip to content

Commit f747db1

Browse files
committed
doc: Add build status badge to README.md
1 parent 7f4345b commit f747db1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
[![Build Status](https://travis-ci.org/richardregeer/phpunit-coverage-check.svg?branch=master)](https://travis-ci.org/richardregeer/phpunit-coverage-check)
2+
13
# phpunit-coverage-check
24
This php script will read the clover xml report from phpunit and calculates the coverage score. Based on the given threshold the script will exit ok of the coverage is higher then the threshold or exit with code 1 if the coverage is lower then the threshold.
35
This script can be used in your continuous deployment environment or for example added to a pre-commit hook.
46

57
# Installation
6-
The script can be installed using composer.Add this repository as a dependency to the composer.json file.
8+
The script can be installed using composer. Add this repository as a dependency to the composer.json file.
79
```bash
810
composer require --dev rregeer/phpunit-coverage-check
911
composer install
@@ -29,5 +31,5 @@ It's also possible to add the coverage report generation to the phpunit.xml.dist
2931
</logging>
3032
```
3133

32-
For more information see the [phpunit documentation](https://phpunit.de/manual/5.3/en/index.html).
33-
Information about the [configuration file](https://phpunit.de/manual/5.3/en/appendixes.configuration.html#appendixes.configuration) and [commandline options](https://phpunit.de/manual/current/en/textui.html#textui.clioptions).
34+
For more information see the [phpunit documentation](https://phpunit.de/manual/5.3/en/index.html).
35+
Information about the [configuration file](https://phpunit.de/manual/5.3/en/appendixes.configuration.html#appendixes.configuration) and [commandline options](https://phpunit.de/manual/current/en/textui.html#textui.clioptions).

0 commit comments

Comments
 (0)