File tree 3 files changed +31
-26
lines changed
3 files changed +31
-26
lines changed Original file line number Diff line number Diff line change 1
- language : go
2
- go :
3
- - " 1.8.x"
4
- dist : trusty
1
+ ---
2
+ services : docker
5
3
sudo : required
6
- group : edge
7
-
8
- before_script :
9
- - curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s before_install
10
- - curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s install
11
- - curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/travis.sh | bash -s before_script
12
- - curl -s https://raw.githubusercontent.com/openshift/ansible-service-broker/master/scripts/broker-ci/setup-cluster.sh | bash -s
13
- - go get github.com/rthallisey/service-broker-ci/cmd/ci
4
+ language : python
5
+ python :
6
+ - ' 2.7'
7
+
8
+ env :
9
+ - OPENSHIFT_VERSION=v3.9
10
+ - OPENSHIFT_VERSION=v3.10
11
+ - KUBERNETES_VERSION=v1.9.0
12
+ - KUBERNETES_VERSION=v1.10.0
13
+ # Allow failures on oc latest
14
+ # TODO: re-enable latest when it isn't busted
15
+ matrix :
16
+ allow_failures :
17
+ - env : OPENSHIFT_VERSION=v3.10
18
+ - env : KUBERNETES_VERSION=v1.10.0
19
+
14
20
script :
15
- - ci
21
+ # Configure test values
22
+ - export apb_name='postgresql-apb'
23
+ - export dockerfile='Dockerfile-canary'
24
+
25
+ # Download test shim.
26
+ - wget -O ${PWD}/apb-test.sh https://raw.githubusercontent.com/ansibleplaybookbundle/apb-test-shim/master/apb-test.sh
27
+ - chmod +x ${PWD}/apb-test.sh
28
+
29
+ # Run tests.
30
+ - ${PWD}/apb-test.sh
31
+
32
+ notifications :
33
+ webhooks : https://galaxy.ansible.com/api/v1/notifications/
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments