mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
add travis
Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
parent
1fbf36c244
commit
b900c9ad5c
14
.travis
Normal file
14
.travis
Normal file
@ -0,0 +1,14 @@
|
||||
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/)
|
Loading…
Reference in New Issue
Block a user