ceph-csi/.travis.yml

30 lines
508 B
YAML
Raw Normal View History

# need for docker build
sudo: true
language: go
branches:
only:
- master
- csi-v1.0
go: 1.11.x
install:
- curl -L https://git.io/vp6lP | sh
before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
script:
- gometalinter --deadline=10m -j 4 --enable=megacheck --enable=misspell --vendor ./...
- test -z $(gofmt -s -l $GO_FILES)
- make rbdplugin
2018-04-24 08:00:24 +00:00
- make cephfsplugin
deploy:
- provider: script
script:
- ./deploy.sh
on:
all_branches: true