-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (32 loc) · 1.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: go
go:
- "1.8.x"
dist: trusty
sudo: required
group: edge
env:
- CHANGE_MINIKUBE_NONE_USER=true
jobs:
include:
- stage: "OpenShift and Kubernetes CI"
before_script:
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s before_install
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s install
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s before_script
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/setup-cluster.sh | bash -s
- make vendor
script:
- make run
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/gather-logs.sh | bash -s
- # Kubernetes
before_script:
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s install
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/setup-minikube.sh | bash -s
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/setup-catalog.sh | bash -s
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/pv-setup.sh | bash -s
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/wait-for-resource.sh | NAMESPACE=catalog bash -s create pod controller-manager
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/run_latest_k8s_build.sh | bash -s
- make vendor
script:
- make run-k
- curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/gather-logs.sh | bash -s