2018-02-15 21:06:12 +00:00
|
|
|
# need for docker build
|
|
|
|
sudo: true
|
|
|
|
|
2018-01-10 18:13:36 +00:00
|
|
|
language: go
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
go: 1.9.x
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
|
2018-10-15 15:06:21 +00:00
|
|
|
- go get -u golang.org/x/lint/golint #go get github.com/golang/lint/golint
|
2018-01-10 18:13:36 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- test -z $(gofmt -s -l $GO_FILES)
|
|
|
|
- go vet -v $(go list ./... | grep -v /vendor/)
|
2018-02-15 20:58:10 +00:00
|
|
|
- make rbdplugin
|
2018-04-24 08:00:24 +00:00
|
|
|
- make cephfsplugin
|
2018-02-15 21:02:39 +00:00
|
|
|
|
2018-02-15 20:55:06 +00:00
|
|
|
deploy:
|
|
|
|
- provider: script
|
|
|
|
script:
|
2018-07-19 18:01:05 +00:00
|
|
|
- ./deploy.sh
|