goveralls: fix coverage analysis

This commit is contained in:
Vaibhav Bhembre 2016-05-17 15:14:50 -04:00
parent 2cf80f0925
commit 16c8162ef2
1 changed files with 5 additions and 2 deletions

View File

@ -12,9 +12,12 @@ before_install:
install:
- go get github.com/ceph/go-ceph
- go get github.com/prometheus/client_golang/prometheus
- go get golang.org/x/tools/cmd/cover
- go get github.com/axw/gocov/gocov
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- $HOME/gopath/bin/goveralls -service=travis-ci ./...
- go test -coverprofile=collectors.coverprofile ./collectors
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service travis-ci