mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-24 11:32:00 -08:00
Fix Coveralls support
This commit is contained in:
parent
ac881fa6a4
commit
190b1b53a6
@ -3,13 +3,12 @@ sudo: false
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.5
|
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
install:
|
before_install:
|
||||||
- go get golang.org/x/tools/cmd/cover
|
- go get github.com/axw/gocov/gocov
|
||||||
- go get github.com/mattn/goveralls
|
- 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:
|
script:
|
||||||
- go test -v ./xmpp -covermode=count -coverprofile=coverage.out
|
- $HOME/gopath/bin/goveralls -service=travis-ci
|
||||||
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
|
|
||||||
|
Loading…
Reference in New Issue
Block a user