36 lines
543 B
YAML
36 lines
543 B
YAML
|
---
|
||
|
language: python
|
||
|
python: "2.7"
|
||
|
|
||
|
sudo: false
|
||
|
|
||
|
addons:
|
||
|
apt:
|
||
|
packages:
|
||
|
- python-pip
|
||
|
|
||
|
env:
|
||
|
global:
|
||
|
ROLE_NAME: nextcloud
|
||
|
|
||
|
install:
|
||
|
- pip install molecule docker
|
||
|
|
||
|
- ansible --version
|
||
|
|
||
|
- pwd
|
||
|
|
||
|
# Create ansible.cfg with correct roles_path
|
||
|
- printf '[defaults]\nroles_path=../' > ansible.cfg
|
||
|
|
||
|
before_script:
|
||
|
- cd ../
|
||
|
- mv ansible-role-$ROLE_NAME nkakouros-original.$ROLE_NAME
|
||
|
- cd nkakouros-original.$ROLE_NAME
|
||
|
|
||
|
script:
|
||
|
- molecule test
|
||
|
|
||
|
notifications:
|
||
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|