ansible/roles/nextcloud/.travis.yml

36 lines
543 B
YAML
Raw Normal View History

2020-11-01 04:55:05 -06:00
---
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/