add coveralls test coverage stats

This commit is contained in:
Jeff
2019-11-21 22:06:02 +08:00
committed by zryfish
parent 36bcfdcd99
commit c3069c7dfd

View File

@@ -23,7 +23,7 @@ before_script:
script:
- diff -u <(echo -n) <(gofmt -d ./pkg ./cmd ./tools)
- make openapi
- make all && $HOME/gopath/bin/goveralls -coverprofile=cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN
- make all && $HOME/gopath/bin/goveralls -coverprofile=cover.out -service=travis-ci -repotoken=$COVERALLS_TOKEN
install:
- go get golang.org/x/tools/cmd/cover