Zack Williams | e940c7a | 2019-08-21 14:25:39 -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 |