forked from theoapp/ansible-role-theo-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (31 loc) · 791 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
33
34
35
36
---
language: python
services: docker
env:
global:
- ROLE_NAME: theo-agent
matrix:
- MOLECULE_DISTRO=centos6
- MOLECULE_DISTRO=centos7
- MOLECULE_DISTRO=centos8
- MOLECULE_DISTRO=debian8
- MOLECULE_DISTRO=debian9
- MOLECULE_DISTRO=debian10
- MOLECULE_DISTRO=ubuntu1404 REGISTRY_USER=theoapp
- MOLECULE_DISTRO=ubuntu1604
- MOLECULE_DISTRO=ubuntu1804
- MOLECULE_DISTRO=ubuntu2004
- MOLECULE_DISTRO=fedora31
- MOLECULE_DISTRO=fedora32
install:
- pip install molecule[docker]==2.22
before_script:
- cd ..
- mv ansible-role-$ROLE_NAME ansible-$ROLE_NAME
- cd ansible-$ROLE_NAME
script:
- molecule --debug test --all
notifications:
webhooks:
urls: https://galaxy.ansible.com/api/v1/notifications/
if: tag IS present