-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (31 loc) · 1.18 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
dist: focal
language: python
python: "3.9"
os: linux
services:
- docker
before_install:
- echo '{"default-cgroupns-mode":"host"}' | sudo tee /etc/docker/daemon.json
- sudo systemctl restart docker
install:
- pip install pipenv
- pipenv sync
env:
jobs:
- MOLECULE_DISTRO=debian:stretch-slim SCENARIO=cron-create-config
- MOLECULE_DISTRO=debian:stretch-slim SCENARIO=cron-default
- MOLECULE_DISTRO=debian:stretch-slim SCENARIO=cron-to-hourly
- MOLECULE_DISTRO=debian:buster-slim SCENARIO=default
- MOLECULE_DISTRO=debian:buster-slim SCENARIO=timer-create-config
- MOLECULE_DISTRO=debian:buster-slim SCENARIO=timer-to-hourly
- MOLECULE_DISTRO=debian:bullseye-slim SCENARIO=default
- MOLECULE_DISTRO=debian:bullseye-slim SCENARIO=timer-create-config
- MOLECULE_DISTRO=debian:bullseye-slim SCENARIO=timer-to-hourly
- MOLECULE_DISTRO=debian:bookworm-slim SCENARIO=default
- MOLECULE_DISTRO=debian:bookworm-slim SCENARIO=timer-create-config
- MOLECULE_DISTRO=debian:bookworm-slim SCENARIO=timer-to-hourly
script:
- pipenv run molecule test --scenario-name=${SCENARIO}
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/