27 lines
547 B
YAML
27 lines
547 B
YAML
|
---
|
||
|
services: docker
|
||
|
sudo: required
|
||
|
language: python
|
||
|
python:
|
||
|
- '2.7'
|
||
|
|
||
|
env:
|
||
|
- OPENSHIFT_VERSION=latest
|
||
|
- OPENSHIFT_VERSION=v3.9
|
||
|
- KUBERNETES_VERSION=latest
|
||
|
- KUBERNETES_VERSION=v1.9.0
|
||
|
|
||
|
script:
|
||
|
# Configure test values
|
||
|
- export apb_name=APB_NAME
|
||
|
|
||
|
# Download test shim.
|
||
|
- wget -O ${PWD}/apb-test.sh https://raw.githubusercontent.com/djzager/apb-test-shim/ansible-galaxy/apb-test.sh
|
||
|
- chmod +x ${PWD}/apb-test.sh
|
||
|
|
||
|
# Run tests.
|
||
|
- ${PWD}/apb-test.sh
|
||
|
|
||
|
# notifications:
|
||
|
# webhooks: https://galaxy.ansible.com/api/v1/notifications/
|