language: go

go:
  - "1.13.x"
  - "1.14.x"
  - "1.15.x"

before_script:
  - go get -u golang.org/x/lint/golint

script:
  - go vet
  - golint -set_exit_status
  - go build
  - go test -race