khenaidoo | ab1f7bd | 2019-11-14 14:00:27 -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 ./...) | grep -v YAMLToJSON) | ||||
11 | - go tool vet . | ||||
12 | - go test -v -race ./... | ||||
13 | install: | ||||
14 | - go get golang.org/x/lint/golint |