mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
15 lines
273 B
YAML
15 lines
273 B
YAML
language: go
|
|
dist: xenial
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
script:
|
|
- go get -t -v ./...
|
|
- diff -u <(echo -n) <(gofmt -d .)
|
|
- diff -u <(echo -n) <(golint $(go list -e ./...))
|
|
- go tool vet .
|
|
- go test -v -race ./...
|
|
install:
|
|
- go get golang.org/x/lint/golint
|