-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
35 lines (30 loc) · 877 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
language: python
services: docker
env:
global:
- ROLE_NAME: ansible-role-funkwhale
matrix:
# - MOLECULE_DISTRIBUTION: centos6
- MOLECULE_DISTRIBUTION: centos7
# - MOLECULE_DISTRIBUTION: rhel6
# - MOLECULE_DISTRIBUTION: rhel7
# - MOLECULE_DISTRIBUTION: ubuntu14
# - MOLECULE_DISTRIBUTION: ubuntu16
# - MOLECULE_DISTRIBUTION: ubuntu18
# - MOLECULE_DISTRIBUTION: debian8
# - MOLECULE_DISTRIBUTION: debian9
# - MOLECULE_DISTRIBUTION: fedora27
# - MOLECULE_DISTRIBUTION: fedora28
# - MOLECULE_DISTRIBUTION: fedora29
install:
- pip install molecule docker
before_script:
# Remove "ansible-role-" prefix from role name
- cd ../
- mv ansible-role-${ROLE_NAME/_/-} $ROLE_NAME
- cd $ROLE_NAME
script:
# Run tests
- molecule test --all
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/