language: go

sudo: false

go:
  - 1.7.x
  - 1.8.x
  - tip

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

before_script:
  - go vet ./...
  - golint ./...

script:
  - go test -v ./...

language: go

sudo: false

go:
  - 1.9.x
  - 1.10.x
  - 1.11.x
  - tip

before_install:
  - go get golang.org/x/lint/golint

before_script:
  - go vet ./...
  - golint ./...

script:
  - go test -v ./...

Test on supported versions of Go
Test on supported versions of Go

Golint won't even install currently.

Also change the `go get` command to use `golang.org/x/lint/golint`.