-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
54 lines (48 loc) · 1.22 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
---
language: go
go:
- "1.12.4"
python:
- 2.7
services: docker
env:
- distro: ubuntu1204
- distro: ubuntu1210
- distro: ubuntu1304
- distro: ubuntu1310
- distro: ubuntu1404
- distro: ubuntu1410
- distro: ubuntu1504
- distro: ubuntu1510
- distro: ubuntu1604
- distro: ubuntu1610
- distro: ubuntu1704
- distro: ubuntu1710
- distro: ubuntu1804
- distro: ubuntu1810
- distro: ubuntu1904
- distro: centos7
- distro: debian8
- distro: debian9
- distro: debian10
- distro: fedora24
- distro: fedora25
- distro: fedora26
- distro: fedora27
- distro: fedora28
- distro: fedora29
- distro: fedora30
- distro: fedora31
before_install:
# Install golang deps
- GO111MODULE=on go get github.com/fubarhouse/ansible-role-tester
script:
# Test the role from inside the container using the segmented commands.
- cd ${TRAVIS_BUILD_DIR}
- ansible-role-tester run --name travis_test --user fubarhouse --distribution ${distro}
- ansible-role-tester install --name travis_test
- ansible-role-tester test --name travis_test --playbook ./tests/playbook.yml
- ansible-role-tester destroy --name travis_test
- sleep 10
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/