@@ -7,7 +7,9 @@ python: "2.7"
7
7
8
8
env :
9
9
- ANSIBLE_VERSION=latest
10
+ - ANSIBLE_VERSION=2.2.1.0
10
11
- ANSIBLE_VERSION=2.2.0.0
12
+ - ANSIBLE_VERSION=2.1.4
11
13
- ANSIBLE_VERSION=2.1.3
12
14
- ANSIBLE_VERSION=2.1.2
13
15
- ANSIBLE_VERSION=2.1.1.0
18
20
- ANSIBLE_VERSION=2.0.0.1
19
21
- ANSIBLE_VERSION=2.0.0.0
20
22
- ANSIBLE_VERSION=1.9.6
21
- - ANSIBLE_VERSION=1.9.5
22
- - ANSIBLE_VERSION=1.9.4
23
- - ANSIBLE_VERSION=1.9.3
24
- - ANSIBLE_VERSION=1.9.2
25
- - ANSIBLE_VERSION=1.9.1
26
- - ANSIBLE_VERSION=1.9.0.1
27
- - ANSIBLE_VERSION=1.8.4
28
- - ANSIBLE_VERSION=1.8.3
29
- - ANSIBLE_VERSION=1.8.2
30
- - ANSIBLE_VERSION=1.8.1
31
- - ANSIBLE_VERSION=1.8
32
- - ANSIBLE_VERSION=1.7.2
33
- - ANSIBLE_VERSION=1.7.1
34
- - ANSIBLE_VERSION=1.7
35
- - ANSIBLE_VERSION=1.6.9
36
- - ANSIBLE_VERSION=1.6.8
37
- - ANSIBLE_VERSION=1.6.7
38
- - ANSIBLE_VERSION=1.6.6
39
- - ANSIBLE_VERSION=1.6.5
40
- - ANSIBLE_VERSION=1.6.4
41
- - ANSIBLE_VERSION=1.6.3
42
- - ANSIBLE_VERSION=1.6.2
43
- - ANSIBLE_VERSION=1.6.10
44
- - ANSIBLE_VERSION=1.6.1
45
- - ANSIBLE_VERSION=1.6
46
23
47
24
branches :
48
25
only :
@@ -53,7 +30,8 @@ before_install:
53
30
54
31
install :
55
32
# Install Ansible.
56
- - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
33
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
34
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
57
35
58
36
script :
59
37
# Check the role/playbook's syntax.
@@ -69,6 +47,8 @@ script:
69
47
&& (echo 'Idempotence test: pass' && exit 0)
70
48
|| (echo 'Idempotence test: fail' && exit 1)
71
49
50
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi
51
+
72
52
notifications :
73
53
email : false
74
54
hipchat :
0 commit comments