blob: 0df64f823644759106570b31807ddf695f6aa812 [file] [log] [blame]
sudo: false
language: go
go:
- 1.x
- master
matrix:
include:
- go: 1.8.x
script: go test -v -race ./...
allow_failures:
- go: master
fast_finish: true
install:
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (it is intended for this package to have no dependencies other than the standard library).
script:
- diff -u <(echo -n) <(gofmt -d -s .)
- go tool vet .
- go test -v -race ./...