aboutsummaryrefslogtreecommitdiff
path: root/vendor/sigs.k8s.io/yaml/.travis.yml
blob: 03ddc7318ae6a2f1bc3298e53ae78251bc833d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 ./...) | grep -v YAMLToJSON)
  - go tool vet .
  - go test -v -race ./...
install:
  - go get golang.org/x/lint/golint