sudo: false

language: go

go:
 - 1.3.x
 - 1.4.x
 - 1.5.x
 - 1.6.x
 - 1.7.x
 - 1.8.x
 - 1.9.x
 - 1.10.x
 - 1.11.x
 - 1.12.x

env:
 - GO111MODULE=on

# Get deps, build, test, and ensure the code is gofmt'ed.
script:
 - go test -v ./...
 - diff <(gofmt -d .) <("")