go-xmpp/.travis.yml

16 lines
380 B
YAML
Raw Normal View History

2016-01-06 17:24:16 +00:00
sudo: false
2016-01-06 16:59:44 +00:00
language: go
go:
2016-01-06 17:06:30 +00:00
- tip
2016-01-06 17:29:11 +00:00
before_install:
- go get github.com/axw/gocov/gocov
2016-01-06 17:06:30 +00:00
- go get github.com/mattn/goveralls
2016-01-06 17:29:11 +00:00
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
2016-01-06 17:06:30 +00:00
script:
2016-01-06 17:31:40 +00:00
- go test -v ./xmpp -covermode=count -coverprofile=coverage.out
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci