mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 02:00:19 +00:00
17 lines
324 B
YAML
17 lines
324 B
YAML
|
language: go
|
||
|
go_import_path: k8s.io/klog
|
||
|
dist: xenial
|
||
|
go:
|
||
|
- 1.9.x
|
||
|
- 1.10.x
|
||
|
- 1.11.x
|
||
|
- 1.12.x
|
||
|
script:
|
||
|
- go get -t -v ./...
|
||
|
- diff -u <(echo -n) <(gofmt -d .)
|
||
|
- diff -u <(echo -n) <(golint $(go list -e ./...))
|
||
|
- go tool vet . || go vet .
|
||
|
- go test -v -race ./...
|
||
|
install:
|
||
|
- go get golang.org/x/lint/golint
|