ceph-csi/vendor/github.com/kubernetes-csi/drivers/.travis.yml

19 lines
493 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
language: go
2018-07-18 14:47:22 +00:00
services:
- docker
2018-02-15 13:50:31 +00:00
# Needed for e2e tests
sudo: true
2018-07-18 14:47:22 +00:00
go: 1.10.3
2018-01-09 18:57:14 +00:00
go_import_path: github.com/kubernetes-csi/drivers
script:
2018-02-15 13:50:31 +00:00
- 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)
2018-11-26 18:23:56 +00:00
- make hostpath
2018-02-15 13:50:31 +00:00
- ./hack/e2e-hostpath.sh
2018-07-18 14:47:22 +00:00
after_success:
2018-11-26 18:23:56 +00:00
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
2018-07-18 14:47:22 +00:00
docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" quay.io;
2018-11-26 18:23:56 +00:00
make push;
2018-07-18 14:47:22 +00:00
fi