Skip to content

Commit d0dd269

Browse files
committed
Move travis to use apb-test-shim
1 parent ccdc4bd commit d0dd269

File tree

3 files changed

+31
-26
lines changed

3 files changed

+31
-26
lines changed

.travis.yml

+31-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
1-
language: go
2-
go:
3-
- "1.8.x"
4-
dist: trusty
1+
---
2+
services: docker
53
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+
1420
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/

config.yaml

-9
This file was deleted.

travis.go

-4
This file was deleted.

0 commit comments

Comments
 (0)