language: go

go:
  - master
  - 1.11.x
  - 1.10.x
  - 1.9.x
  - 1.8.x

env:
  - GO111MODULE=on

install:
  - go get github.com/golang/lint/golint

script:
  - go build ./...
  - go test -v ./...
  - go test -cover -race ./...
  - go vet ./...
  - test -z "$(gofmt -d -s *.go)"
  - golint ./...

sudo: false

language: go

go:
  - 1.x
  - 1.11.x
  - 1.10.x
  - 1.9.x
  - 1.8.x

env:
  - GO111MODULE=on

install:
  - go get github.com/golang/lint/golint

script:
  - go build ./...
  - go test -v ./...
  - go test -cover -race ./...
  - go vet ./...
  - test -z "$(gofmt -d -s *.go)"
  - golint ./...

sudo: false

Test on latest released Go, not master
Test on latest released Go, not master
