-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (49 loc) · 1.71 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
os: linux
dist: xenial
language: python
cache: pip
python:
- "3.6"
- "3.7"
- "3.8"
env:
# Matrix built with https://play.golang.org/p/VNz0tiTDasm
- MOLECULE_DISTRO=centos7 ANSIBLE_VERSION=2.9.2
- MOLECULE_DISTRO=centos7 ANSIBLE_VERSION=2.9.8
- MOLECULE_DISTRO=centos7 ANSIBLE_VERSION=2.9.9
- MOLECULE_DISTRO=centos7 ANSIBLE_VERSION=2.9.10
- MOLECULE_DISTRO=centos8 ANSIBLE_VERSION=2.9.2
- MOLECULE_DISTRO=centos8 ANSIBLE_VERSION=2.9.8
- MOLECULE_DISTRO=centos8 ANSIBLE_VERSION=2.9.9
- MOLECULE_DISTRO=centos8 ANSIBLE_VERSION=2.9.10
- MOLECULE_DISTRO=ubuntu1804 ANSIBLE_VERSION=2.9.2
- MOLECULE_DISTRO=ubuntu1804 ANSIBLE_VERSION=2.9.8
- MOLECULE_DISTRO=ubuntu1804 ANSIBLE_VERSION=2.9.9
- MOLECULE_DISTRO=ubuntu1804 ANSIBLE_VERSION=2.9.10
- MOLECULE_DISTRO=ubuntu2004 ANSIBLE_VERSION=2.9.2
- MOLECULE_DISTRO=ubuntu2004 ANSIBLE_VERSION=2.9.8
- MOLECULE_DISTRO=ubuntu2004 ANSIBLE_VERSION=2.9.9
- MOLECULE_DISTRO=ubuntu2004 ANSIBLE_VERSION=2.9.10
- MOLECULE_DISTRO=debian9 ANSIBLE_VERSION=2.9.2
- MOLECULE_DISTRO=debian9 ANSIBLE_VERSION=2.9.8
- MOLECULE_DISTRO=debian9 ANSIBLE_VERSION=2.9.9
- MOLECULE_DISTRO=debian9 ANSIBLE_VERSION=2.9.10
- MOLECULE_DISTRO=debian10 ANSIBLE_VERSION=2.9.2
- MOLECULE_DISTRO=debian10 ANSIBLE_VERSION=2.9.8
- MOLECULE_DISTRO=debian10 ANSIBLE_VERSION=2.9.9
- MOLECULE_DISTRO=debian10 ANSIBLE_VERSION=2.9.10
services:
- docker
install:
# Install ansible
- pip install ansible==$ANSIBLE_VERSION molecule[docker,lint]
- pip install yamllint ansible-lint docker
# Check ansible version
- ansible --version
- molecule --version
script:
# Run molecule tests
- molecule test
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/