kilo/vendor/sigs.k8s.io/yaml/.travis.yml

14 lines
330 B
YAML
Raw Normal View History

2019-01-18 01:50:10 +00:00
language: go
dist: xenial
go:
- 1.12.x
- 1.13.x
2019-01-18 01:50:10 +00:00
script:
- diff -u <(echo -n) <(gofmt -d *.go)
2019-01-18 01:50:10 +00:00
- 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
2019-01-18 01:50:10 +00:00
install:
- GO111MODULE=off go get golang.org/x/lint/golint