@@ -7,7 +7,9 @@ python: "2.7"
77
88env :
99 - ANSIBLE_VERSION=latest
10+ - ANSIBLE_VERSION=2.2.1.0
1011 - ANSIBLE_VERSION=2.2.0.0
12+ - ANSIBLE_VERSION=2.1.4
1113 - ANSIBLE_VERSION=2.1.3
1214 - ANSIBLE_VERSION=2.1.2
1315 - ANSIBLE_VERSION=2.1.1.0
1820 - ANSIBLE_VERSION=2.0.0.1
1921 - ANSIBLE_VERSION=2.0.0.0
2022 - 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
4623
4724branches :
4825 only :
@@ -56,7 +33,8 @@ before_install:
5633
5734install :
5835 # Install Ansible.
59- - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
36+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
37+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
6038
6139script :
6240 # Check the role/playbook's syntax.
@@ -72,6 +50,8 @@ script:
7250 && (echo 'Idempotence test: pass' && exit 0)
7351 || (echo 'Idempotence test: fail' && exit 1)
7452
53+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi
54+
7555notifications :
7656 email : false
7757 hipchat :
0 commit comments