Fix Coveralls support
This commit is contained in:
parent
ac881fa6a4
commit
190b1b53a6
|
@ -3,13 +3,12 @@ sudo: false
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.5
|
||||
- tip
|
||||
|
||||
install:
|
||||
- go get golang.org/x/tools/cmd/cover
|
||||
before_install:
|
||||
- go get github.com/axw/gocov/gocov
|
||||
- go get github.com/mattn/goveralls
|
||||
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
||||
|
||||
script:
|
||||
- go test -v ./xmpp -covermode=count -coverprofile=coverage.out
|
||||
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
|
||||
- $HOME/gopath/bin/goveralls -service=travis-ci
|
||||
|
|
Loading…
Reference in a new issue