Skip to content

Commit

Permalink
added coveralls and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgleeson committed Feb 14, 2018
1 parent bae6955 commit 8e37125
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ matrix:
- php: 7.0
- php: hhvm

script: vendor/bin/phpunit --coverage-text -c phpunit.xml
script: vendor/bin/phpunit --coverage-text -c phpunit.xml --coverage-clover build/logs/clover.xml

after_success:
- travis_retry php vendor/bin/php-coveralls -v

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Stats Collector
[![GitHub tag](https://img.shields.io/github/tag/jackgleeson/stats-collector.svg)]()
[![Build Status](https://travis-ci.org/jackgleeson/stats-collector.svg?branch=master)](https://travis-ci.org/jackgleeson/stats-collector)
[![Coverage Status](https://coveralls.io/repos/github/jackgleeson/stats-collector/badge.svg?branch=master)](https://coveralls.io/github/jackgleeson/stats-collector?branch=master)

Record, combine, retrieve and export custom statistics and log data during the lifecycle of any PHP process.

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
}
},
"require": {
"dflydev/dot-access-data": "^1.1"
"dflydev/dot-access-data": "^1.1",
"php-coveralls/php-coveralls": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^6.4"
Expand Down

0 comments on commit 8e37125

Please sign in to comment.