public-health-ch/ansible/roles/geerlingguy.nodejs/.travis.yml

34 lines
718 B
YAML
Raw Normal View History

2017-04-24 16:09:26 +00:00
---
2020-05-15 20:41:39 +00:00
language: python
2017-04-24 16:09:26 +00:00
services: docker
env:
2020-05-15 20:41:39 +00:00
global:
- ROLE_NAME: nodejs
matrix:
- MOLECULE_DISTRO: centos8
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: ubuntu1804
- MOLECULE_DISTRO: ubuntu1604
- MOLECULE_DISTRO: debian9
- MOLECULE_DISTRO: centos7
MOLECULE_PLAYBOOK: playbook-latest.yml
install:
# Install test dependencies.
- pip install molecule yamllint ansible-lint 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
2017-04-24 16:09:26 +00:00
script:
# Run tests.
2020-05-15 20:41:39 +00:00
- molecule test
2017-04-24 16:09:26 +00:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/