ceph-csi/vendor/github.com/kubernetes-csi/drivers/.travis.yml

16 lines
387 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
language: go
2018-02-15 13:50:31 +00:00
# Needed for e2e tests
sudo: true
2018-01-09 18:57:14 +00:00
go: 1.9.x
go_import_path: github.com/kubernetes-csi/drivers
install:
2018-02-15 13:50:31 +00:00
- go get -u github.com/golang/dep/cmd/dep
- dep ensure -vendor-only
2018-03-06 22:33:18 +00:00
- make hostpath
2018-01-09 18:57:14 +00:00
script:
2018-02-15 13:50:31 +00:00
- go fmt $(go list ./... | grep -v vendor) | wc -l | grep 0
- go vet $(go list ./... | grep -v vendor)
- go test $(go list ./... | grep -v vendor)
- ./hack/e2e-hostpath.sh