42 lines
732 B
YAML
42 lines
732 B
YAML
language: go
|
|
dist: trusty
|
|
|
|
services:
|
|
- rabbitmq
|
|
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- go: "1.9.x"
|
|
- go: "1.10.x"
|
|
- go: "1.11.x"
|
|
env:
|
|
- GO111MODULE=on
|
|
- go: "1.12.x"
|
|
env:
|
|
- GO111MODULE=on
|
|
- go: "tip"
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
before_install:
|
|
- go get golang.org/x/tools/cmd/cover
|
|
- go get github.com/mattn/goveralls
|
|
|
|
install:
|
|
- go get -d -t ./...
|
|
- go get -u golang.org/x/lint/golint
|
|
|
|
script:
|
|
- make test vet lint bench
|
|
- $GOPATH/bin/goveralls -service=travis-ci
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/ead3c37d57527214e9f2
|
|
- https://webhooks.gitter.im/e/e57478303f87ecd7bffc
|
|
on_success: change
|
|
on_failure: always
|