mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
19 lines
493 B
YAML
19 lines
493 B
YAML
language: go
|
|
services:
|
|
- docker
|
|
# Needed for e2e tests
|
|
sudo: true
|
|
go: 1.10.3
|
|
go_import_path: github.com/kubernetes-csi/drivers
|
|
script:
|
|
- go fmt $(go list ./... | grep -v vendor) | wc -l | grep 0
|
|
- go vet $(go list ./... | grep -v vendor)
|
|
- go test $(go list ./... | grep -v vendor)
|
|
- make hostpath
|
|
- ./hack/e2e-hostpath.sh
|
|
after_success:
|
|
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
|
|
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io;
|
|
make push;
|
|
fi
|