ceph-csi/.travis.yml
Huamin Chen c7ba5a6f8b enable sudo in travis
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-02-15 21:06:12 +00:00

24 lines
389 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
deploy:
- provider: script
script:
- ./deploy.sh