2016-03-18 18:37:29 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.4.3
|
|
|
|
- 1.6
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
go: 1.6
|
|
|
|
env:
|
|
|
|
- GOFLAGS="-tags kqueue"
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GOBIN=$HOME/bin
|
|
|
|
- PATH=$HOME/bin:$PATH
|
|
|
|
|
|
|
|
install:
|
|
|
|
- go get -t -v ./...
|
|
|
|
|
|
|
|
script:
|
2016-08-04 19:19:11 +00:00
|
|
|
- "(go version | grep -q 1.4) || go tool vet -all ."
|
2016-03-18 18:37:29 +00:00
|
|
|
- go install $GOFLAGS ./...
|
|
|
|
- go test -v -race $GOFLAGS ./...
|