mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 04:10:22 +00:00
684f753581
Signed-off-by: Huamin Chen <hchen@redhat.com>
28 lines
496 B
YAML
28 lines
496 B
YAML
# need for docker build
|
|
sudo: true
|
|
|
|
language: go
|
|
branches:
|
|
only:
|
|
- master
|
|
- csi-v1.0
|
|
|
|
go: 1.10.x
|
|
|
|
before_script:
|
|
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
|
|
- go get -u golang.org/x/lint/golint #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
|
|
on:
|
|
all_branches: true
|