2019-04-13 07:44:06 +00:00
|
|
|
language: go
|
|
|
|
go_import_path: k8s.io/klog
|
|
|
|
dist: xenial
|
|
|
|
go:
|
|
|
|
- 1.9.x
|
|
|
|
- 1.10.x
|
|
|
|
- 1.11.x
|
2020-10-13 20:26:39 +00:00
|
|
|
- 1.12.x
|
2019-04-13 07:44:06 +00:00
|
|
|
script:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
|
|
|
- diff -u <(echo -n) <(golint $(go list -e ./...))
|
2020-10-13 20:26:39 +00:00
|
|
|
- go tool vet . || go vet .
|
2019-04-13 07:44:06 +00:00
|
|
|
- go test -v -race ./...
|
|
|
|
install:
|
|
|
|
- go get golang.org/x/lint/golint
|