aboutsummaryrefslogtreecommitdiff
path: root/vendor/sigs.k8s.io/yaml/.travis.yml
blob: 54ed8f9cb9690194eb8a730ec9c35e51c9322de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
language: go
arch: arm64
dist: focal
go: 1.15.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