Switch to go modules, update travisci for go 1.11

This commit is contained in:
Andrey Petrov 2018-09-06 13:53:43 -05:00
parent e72af3ad8e
commit 2f227f2571

View File

@ -4,19 +4,17 @@ notifications:
language: go
go:
- 1.8
- 1.9
- 1.11
env:
- CGO_ENABLED=0
- GO111MODULE=on
install:
- go get -t ./...
- go get -u github.com/golang/dep
- go get github.com/gordonklaus/ineffassign
script:
- diff -u <(echo -n) <(gofmt -d .)
- ineffassign .
- go vet $(go list ./... | grep -v /vendor/)
- go test -v $(go list ./... | grep -v /vendor/)
- go test -vet "all" -v ./...