forked from geerlingguy/ansible-for-devops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (50 loc) · 1.47 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
56
57
58
59
60
61
62
63
64
65
66
67
68
---
services: docker
env:
# Run each test playbook in a separate environment.
- playbook: deployments.yml
distro: ubuntu1804
test_idempotence: false
# TODO: Not easy to test in CI at this time.
# - playbook: deployments-balancer.yml
# distro: ubuntu1804
- playbook: deployments-rolling.yml
distro: ubuntu1804
- playbook: docker.yml
distro: ubuntu1604
test_idempotence: false
- playbook: docker-hubot.yml
distro: ubuntu1604
test_idempotence: false
- playbook: drupal.yml
distro: ubuntu1604
# TODO: Not easy to test in CI at this time.
# - playbook: dynamic-inventory.yml
# distro: ubuntu1604
- playbook: https-self-signed.yml
distro: ubuntu1604
- playbook: includes.yml
distro: ubuntu1604
- playbook: jenkins.yml
distro: ubuntu1604
# TODO: Not easy to test in CI at this time.
# - playbook: kubernetes.yml
# distro: debian9
# TODO: Not easy to test in CI at this time.
# - playbook: lamp-infrastructure.yml
# distro: ubuntu1604
- playbook: nodejs.yml
distro: centos7
- playbook: nodejs-role.yml
distro: centos7
# TODO: Not easy to test in CI at this time.
# - playbook: orchestration.yml
# distro: ubuntu1604
- playbook: solr.yml
distro: ubuntu1604
script:
# Download test shim.
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/geerlingguy/73ef1e5ee45d8694570f334be385e181/raw/
- chmod +x ${PWD}/tests/test.sh
# Run tests.
- ${PWD}/tests/test.sh