cookiecutter-ansible-role/{{cookiecutter.app_name}}_role/{% raw %}.travis.yml{% endraw %}

26 lines
606 B
Plaintext
Raw Normal View History

2020-04-28 13:23:10 +02:00
---
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 --all
2020-04-28 13:23:10 +02:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
2021-04-29 15:32:18 +02:00
email:
if: branch = main
on_success: change
on_failure: always
recipients:
- desarrollo.benders@idealista.com