mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
9d9afc1093
Signed-off-by: Huamin Chen <hchen@redhat.com>
25 lines
411 B
YAML
25 lines
411 B
YAML
# need for docker build
|
|
sudo: true
|
|
|
|
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/)
|
|
- make rbdplugin
|
|
- make cephfsplugin
|
|
|
|
deploy:
|
|
- provider: script
|
|
script:
|
|
- ./deploy.sh
|