forked from ansibleplaybookbundle/postgresql-apb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 781 Bytes
/
.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
---
services: docker
sudo: required
language: python
python:
- '2.7'
env:
- OPENSHIFT_VERSION=v3.9
#- OPENSHIFT_VERSION=v3.10
- KUBERNETES_VERSION=v1.9.0
#- KUBERNETES_VERSION=v1.10.0
# Allow failures on oc latest
# TODO: re-enable latest when it isn't busted
matrix:
allow_failures:
- env: OPENSHIFT_VERSION=v3.10
- env: KUBERNETES_VERSION=v1.10.0
script:
# Configure test values
- export apb_name='postgresql-apb'
- export dockerfile='Dockerfile-canary'
# Download test shim.
- wget -O ${PWD}/apb-test.sh https://raw.githubusercontent.com/ansibleplaybookbundle/apb-test-shim/master/apb-test.sh
- chmod +x ${PWD}/apb-test.sh
# Run tests.
- ${PWD}/apb-test.sh
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/