ansible-role-munin/.travis.yml

29 lines
556 B
YAML
Raw Normal View History

2014-05-12 02:20:13 +00:00
---
2018-09-29 00:19:24 +00:00
language: python
services: docker
2014-05-12 02:20:13 +00:00
env:
2018-09-29 00:19:24 +00:00
global:
- ROLE_NAME: munin
matrix:
- MOLECULE_DISTRO: centos7
2018-10-23 15:18:43 +00:00
- MOLECULE_DISTRO: ubuntu1804
2018-09-29 00:19:24 +00:00
- MOLECULE_DISTRO: ubuntu1604
2014-05-12 02:20:13 +00:00
2018-09-29 00:19:24 +00:00
install:
# Install test dependencies.
- pip install molecule docker
before_script:
# Use actual Ansible Galaxy role name for the project directory.
- cd ../
- mv ansible-role-$ROLE_NAME geerlingguy.$ROLE_NAME
- cd geerlingguy.$ROLE_NAME
2016-09-14 02:09:24 +00:00
2018-09-29 00:19:24 +00:00
script:
# Run tests.
2018-09-29 00:19:24 +00:00
- molecule test
2016-03-02 21:53:46 +00:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/