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

30 lines
613 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
2019-11-08 17:12:29 -05:00
- MOLECULE_DISTRO: fedora31
2018-09-30 21:23:32 -04:00
- MOLECULE_DISTRO: ubuntu1804
2019-05-07 04:37:13 -04:00
- MOLECULE_DISTRO: debian10
2018-09-30 21:23:32 -04:00
install:
# Install test dependencies.
- pip install molecule yamllint ansible-lint 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/