ceph-csi/.travis.yml

25 lines
447 B
YAML
Raw Normal View History

# 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 -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
2018-04-24 08:00:24 +00:00
- make cephfsplugin
deploy:
- provider: script
script:
- ./deploy.sh