2019-06-09 07:24:20 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.10.x
|
2023-06-07 20:46:50 +00:00
|
|
|
- 1.11.x
|
|
|
|
- master
|
2019-06-09 07:24:20 +00:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
go: 1.7.5
|
|
|
|
env:
|
|
|
|
- GOFLAGS="-tags kqueue"
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GOBIN=$HOME/bin
|
|
|
|
- PATH=$HOME/bin:$PATH
|
|
|
|
|
|
|
|
install:
|
|
|
|
- go get -t -v ./...
|
|
|
|
|
|
|
|
script:
|
|
|
|
- "(go version | grep -q 1.4) || go tool vet -all ."
|
|
|
|
- go install $GOFLAGS ./...
|
|
|
|
- go test -v -timeout 60s -race $GOFLAGS ./...
|