-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
32 lines (32 loc) · 873 Bytes
/
.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
---
sudo: required
language: python
services:
- docker
before_install:
- sudo apt-get -qq update
env:
# - molecule_distro=alpine313
# - molecule_distro=alpine314
# - molecule_distro=centos7
# - molecule_distro=centos8
# - molecule_distro=debian8
# - molecule_distro=debian9
# - molecule_distro=debian10
# - molecule_distro=debian11
# - molecule_distro=fedora
# - molecule_distro=fedora34
# - molecule_distro=fedora35
# - molecule_distro=rocky8
# - molecule_distro=ubuntu1604
# - molecule_distro=ubuntu1804
- molecule_distro=ubuntu2004
- molecule_distro=ubuntu2204
install:
- python -m pip install --upgrade pip
- pip install -r requirements.txt -r requirements-dev.txt
- pip install pre-commit
script:
- molecule test --scenario-name "$molecule_distro"
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/