26 lines
602 B
Plaintext
26 lines
602 B
Plaintext
---
|
|
dist: xenial
|
|
language: python
|
|
python: "3.9"
|
|
os: linux
|
|
services:
|
|
- docker
|
|
install:
|
|
- pip install -I pipenv
|
|
- pipenv sync
|
|
env:
|
|
jobs:
|
|
{% if "buster" in cookiecutter.platforms.debian_list %}- MOLECULE_DISTRO=debian:buster-slim{% endif %}
|
|
{% if "bullseye" in cookiecutter.platforms.debian_list %}- MOLECULE_DISTRO=debian:bullseye-slim{% endif %}
|
|
script:
|
|
- pipenv run molecule test --all
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
email:
|
|
if: branch = main
|
|
on_success: change
|
|
on_failure: always
|
|
recipients:
|
|
- laur.ivan@gmail.com
|