Skip to content

Commit

Permalink
added coverage info
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Dec 3, 2019
1 parent 1224a9f commit 5de342f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
dist: bionic

language: go

go:
- 1.13.x

install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

script:
- go test -v -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci

0 comments on commit 5de342f

Please sign in to comment.