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`.
This commit is contained in:
Roman Levin 2018-11-14 14:33:29 +01:00 committed by GitHub
parent 5df7c6ae56
commit 5bdba044b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,12 +3,13 @@ language: go
sudo: false
go:
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
- tip
before_install:
- go get github.com/golang/lint/golint
- go get golang.org/x/lint/golint
before_script:
- go vet ./...