Skip to content

Commit

Permalink
Add coverage bage
Browse files Browse the repository at this point in the history
  • Loading branch information
batenburg committed Apr 16, 2020
1 parent 6872bfa commit 29707b8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
coverage_clover: ./build/logs/clover.xml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/var/
/vendor/
/build/
composer.lock
.phpunit.result.cache
.phpcs-cache
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ jobs:
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for coverage"; exit 1; fi
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
- php ./vendor/bin/php-coveralls -v
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Caching for the Symfony Framework.

Build Status: [![Build Status](https://travis-ci.org/batenburg/caching-bundle.svg?branch=master)](https://travis-ci.org/batenburg/caching-bundle.svg?branch=master)

Code coverage: [![Coverage Status](https://coveralls.io/repos/github/batenburg/caching-bundle/badge.svg?branch=master)](https://coveralls.io/github/batenburg/caching-bundle?branch=master)

## What is Caching Bundle?

The caching bundle is an repository around the Symfony Cache. Its purpose is to simplify usage of Symfony Cache.
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"satooshi/php-coveralls": "^2.2",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down

0 comments on commit 29707b8

Please sign in to comment.