Files
kubernetes.core/.travis.yml
Chris Houseknecht a944826d6b Removes -i inventory
2017-10-12 12:15:49 -04:00

33 lines
777 B
YAML

---
language: python
python: "2.7"
# Use the new container infrastructure
sudo: false
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install prereqs
- pip install https://github.com/ansible/ansible/archive/devel.tar.gz
- pip install openshift
# Start OpenShift
- docker run --publish 8443:8443 -d --name openshift openshift/origin:v3.6.0 start master --listen https://0.0.0.0:8443
- sleep 15
# Fetch a copy of the kube config file
- docker exec -it openshift cat /var/lib/origin/openshift.local.config/master/admin.kubeconfig >tests/konfig.json
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
- ansible-playbook -vvv tests/test.yml
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/