Skip to content

Commit 3bff0bf

Browse files
committed
add codecov service.
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 4fbdd81 commit 3bff0bf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ install:
1919
- go get github.com/mattn/goveralls
2020

2121
script:
22-
- go test -v -covermode=count -coverprofile=coverage.out
23-
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken=$COVERALLS_TOKEN
22+
- go test -v -covermode=count -coverprofile=coverage.txt
23+
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.txt -service=travis-ci -repotoken=$COVERALLS_TOKEN
24+
25+
after_success:
26+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)