goveralls: fix coverage analysis
This commit is contained in:
parent
2cf80f0925
commit
16c8162ef2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue