This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-hessian2.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d2e8a8  Update codecov
     new 3b52d42  Merge pull request #162 from fangyincheng/master
5d2e8a8 is described below

commit 5d2e8a8ff8cb8827a1a026c7c84f1276513fc9fa
Author: fangyincheng <[email protected]>
AuthorDate: Sat Mar 7 18:01:41 2020 +0800

    Update codecov
---
 .travis.yml | 5 ++++-
 README.md   | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1a780a1..0181446 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,10 @@ script:
   - mvn clean package -f test_hessian/pom.xml
   - mvn clean package -f test_dubbo/pom.xml
   - go fmt && [[ -z `git status -s` ]]
-  - GO111MODULE=on && go mod vendor && go test -race -v && go test -bench . 
-race
+  - GO111MODULE=on && go mod vendor && go test -race -v && go test -bench . 
-race -coverprofile=coverage.txt
+
+after_success:
+  - bash <(curl -s https://codecov.io/bash)
 
 notifications:
   webhooks: 
https://oapi.dingtalk.com/robot/send?access_token=27a5eb4510c8cf913b67a72832549b123a8c44655483d20443515604669de0ae
\ No newline at end of file
diff --git a/README.md b/README.md
index 3863226..349777b 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
 # gohessian
 
 [![Build 
Status](https://travis-ci.org/apache/dubbo-go-hessian2.png?branch=master)](https://travis-ci.org/apache/dubbo-go-hessian2)
-[![GoCover](http://gocover.io/_badge/github.com/apache/dubbo-go-hessian2)](http://gocover.io/github.com/apache/dubbo-go-hessian2)
+[![codecov](https://codecov.io/gh/apache/dubbo-go-hessian2/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/dubbo-go-hessian2)
 
[![GoDoc](https://godoc.org/github.com/apache/dubbo-go-hessian2?status.svg)](https://godoc.org/github.com/apache/dubbo-go-hessian2)
 
 

Reply via email to