Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 1 | language: go |
2 | go_import_path: k8s.io/klog | ||||
3 | dist: xenial | ||||
4 | go: | ||||
5 | - 1.9.x | ||||
6 | - 1.10.x | ||||
7 | - 1.11.x | ||||
8 | script: | ||||
9 | - go get -t -v ./... | ||||
10 | - diff -u <(echo -n) <(gofmt -d .) | ||||
11 | - diff -u <(echo -n) <(golint $(go list -e ./...)) | ||||
12 | - go tool vet . | ||||
13 | - go test -v -race ./... | ||||
14 | install: | ||||
15 | - go get golang.org/x/lint/golint |