From 5de342f51959b514d8cf1f6280ebca99fcd3016a Mon Sep 17 00:00:00 2001 From: qiangxue Date: Tue, 3 Dec 2019 13:39:05 -0500 Subject: [PATCH] added coverage info --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index f0bba20..5bc5bad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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