ceph-csi/.travis
Huamin Chen b900c9ad5c add travis
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-01-10 18:13:36 +00:00

15 lines
272 B
Plaintext

language: go
branches:
only:
- master
go: 1.9.x
before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
- go get github.com/golang/lint/golint
script:
- test -z $(gofmt -s -l $GO_FILES)
- go vet -v $(go list ./... | grep -v /vendor/)