blob: 568aaa12c2469f1f5bf0a00e77c9b0d5c2d84294 [file] [log] [blame]
sudo: false
language: go
go:
- "stable"
- "1.10.4"
- "1.9.x"
- "1.8.x"
matrix:
allow_failures:
- go: tip
fast_finish: true
before_script:
- go get -u golang.org/x/lint/golint
script:
- go test --race ./...
after_script:
- test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
- test -z "$(golint ./... | tee /dev/stderr)"
- go vet ./...
os:
- linux
- osx
notifications:
email: false