sslobodr | d046be8 | 2019-01-16 10:02:22 -0500 | [diff] [blame] | 1 | language: go |
2 | dist: xenial | ||||
3 | go: | ||||
4 | - 1.9.x | ||||
5 | - 1.10.x | ||||
6 | - 1.11.x | ||||
7 | script: | ||||
8 | - go get -t -v ./... | ||||
9 | - diff -u <(echo -n) <(gofmt -d .) | ||||
10 | - diff -u <(echo -n) <(golint $(go list -e ./...)) | ||||
11 | - go tool vet . | ||||
12 | - go test -v -race ./... | ||||
13 | install: | ||||
14 | - go get golang.org/x/lint/golint |