Skip to content

Commit

Permalink
update coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
meshell committed Apr 11, 2018
1 parent 39320ca commit 8b105e5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
@@ -0,0 +1,2 @@
json_path: coveralls-upload.json
service_name: travis-ci
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -6,7 +6,9 @@ php:
before_script:
- composer install

script: phpunit --coverage-text
script: phpunit --coverage-clover clover.xml

after_success: vendor/bin/php-coveralls -v --exclude-no-stmt -x clover.xml

notifications:
email:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,8 @@ Shrimp-wechat-sdk
=================

[![Build Status](https://travis-ci.org/TianLiangZhou/shrimp-wechat-sdk.svg?branch=master)](https://travis-ci.org/TianLiangZhou/shrimp-wechat-sdk)
[![Coverage Status](https://coveralls.io/repos/github/TianLiangZhou/shrimp-wechat-sdk/badge.svg?branch=master)](https://coveralls.io/github/TianLiangZhou/shrimp-wechat-sdk?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/eb4a04fc8f43da3ccef0/maintainability)](https://codeclimate.com/github/TianLiangZhou/shrimp-wechat-sdk/maintainability)
[![License](https://img.shields.io/badge/license-mit-blue.svg)](LICENSE)

小虾米微信SDK是一个针对微信公众平台接口的封装。目前已实现了用户、素材、消息、菜单相关的接口,还有自动回复的处理。
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -18,7 +18,8 @@
"require-dev": {
"squizlabs/php_codesniffer": "^2.5",
"phpunit/phpunit": "^6.0",
"friendsofphp/php-cs-fixer": "^2.3"
"friendsofphp/php-cs-fixer": "^2.3",
"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit 8b105e5

Please sign in to comment.