cookiecutter-ansible-role-d.../{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %}
2020-10-27 16:32:21 +01:00

19 lines
465 B
Plaintext

---
dist: xenial
language: python
python: "3.7"
os: linux
services:
- docker
install:
- pip install pipenv
- pipenv sync
env:
jobs:
{% if cookiecutter.debian_stretch_support == 'True' %}- MOLECULE_DISTRO=debian:stretch-slim{% endif %}
{% if cookiecutter.debian_buster_support == 'True' %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
script:
- pipenv run molecule test
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/