Skip to content

Commit

Permalink
Merge pull request #7 from howyi/add-coveralls
Browse files Browse the repository at this point in the history
add coverage badge
  • Loading branch information
844196 committed Jan 31, 2019
2 parents 22fd116 + 73d4604 commit fb99772
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage_clover: build/log/clover.xml
json_path: build/log/coveralls-upload.json
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
before_script:
- composer install --dev
script:
- vendor/bin/phpstan analyse -l 7 src
- composer stan
- vendor/bin/phpunit --coverage-clover=build/log/clover.xml
- vendor/bin/phpcs --standard=PSR12 src
- composer cs
- vendor/bin/php-coveralls -v
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# cra
[![Build Status](https://travis-ci.org/howyi/cra.svg?branch=master)](https://travis-ci.org/howyi/cra)
[![Coverage Status](https://coveralls.io/repos/github/howyi/cra/badge.svg?branch=master)](https://coveralls.io/github/howyi/cra?branch=master)

## sub-commands

Expand Down

0 comments on commit fb99772

Please sign in to comment.