16 lines
380 B
YAML
16 lines
380 B
YAML
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- tip
|
|
|
|
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
|