1
0
Fork 0
mirror of https://github.com/geerlingguy/ansible-role-postgresql.git synced 2024-11-11 13:50:50 -05:00
postgresql/.travis.yml

31 lines
624 B
YAML
Raw Normal View History

---
2018-09-30 21:23:32 -04:00
language: python
services: docker
env:
2018-09-30 21:23:32 -04:00
global:
- ROLE_NAME: postgresql
matrix:
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: ubuntu1804
- MOLECULE_DISTRO: ubuntu1604
2019-05-07 04:37:13 -04:00
- MOLECULE_DISTRO: debian10
2018-09-30 21:23:32 -04:00
- MOLECULE_DISTRO: debian9
2018-09-30 21:23:32 -04:00
install:
# Install test dependencies.
- pip install molecule docker
2018-09-30 21:23:32 -04:00
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
2018-09-30 21:23:32 -04:00
script:
# Run tests.
2018-09-30 21:23:32 -04:00
- molecule test
2016-09-29 13:36:57 -04:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/