mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 02:00:19 +00:00
34fc1d847e
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
14 lines
330 B
YAML
14 lines
330 B
YAML
language: go
|
|
dist: xenial
|
|
go:
|
|
- 1.12.x
|
|
- 1.13.x
|
|
script:
|
|
- diff -u <(echo -n) <(gofmt -d *.go)
|
|
- diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
|
|
- GO111MODULE=on go vet .
|
|
- GO111MODULE=on go test -v -race ./...
|
|
- git diff --exit-code
|
|
install:
|
|
- GO111MODULE=off go get golang.org/x/lint/golint
|