mirror of
https://github.com/idealista/cookiecutter-ansible-role.git
synced 2024-12-25 19:11:29 +01:00
20 lines
511 B
Plaintext
20 lines
511 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:
|
|
- export MOLECULE_DISTRO=${MOLECULE_DISTRO}
|
|
- pipenv run molecule test
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/ |