Skip to content
This repository was archived by the owner on Apr 14, 2018. It is now read-only.

Commit eec26d8

Browse files
committed
Merge pull request #6 from delphix/travis-test-multiple-ansible-versions
Test multiple versions of Ansible w/Travis CI
2 parents 3947def + dd3e469 commit eec26d8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.travis.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@
55
language: python
66
python: "2.7"
77

8+
env:
9+
- ANSIBLE_VERSION=latest
10+
- ANSIBLE_VERSION=1.9.4
11+
- ANSIBLE_VERSION=1.9.3
12+
- ANSIBLE_VERSION=1.9.2
13+
- ANSIBLE_VERSION=1.9.1
14+
- ANSIBLE_VERSION=1.9.0.1
15+
- ANSIBLE_VERSION=1.8.4
16+
- ANSIBLE_VERSION=1.8.3
17+
- ANSIBLE_VERSION=1.8.2
18+
- ANSIBLE_VERSION=1.8.1
19+
- ANSIBLE_VERSION=1.8
20+
821
sudo: required
922
services:
1023
- docker
@@ -14,7 +27,7 @@ before_install:
1427
- sudo apt-get install -qq python-apt ruby
1528

1629
install:
17-
- pip install ansible==1.9.4
30+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
1831
- sudo gem install busser --no-ri --no-rdoc
1932
- sudo busser plugin install busser-bats
2033

0 commit comments

Comments
 (0)