Browse Source

Fix ansible version and ansible-lint version

Ansible 1.9 or greater is required.
Allen Riddell 8 years ago
parent
commit
2062225709
3 changed files with 4 additions and 3 deletions
  1. 2
    1
      .travis.yml
  2. 1
    2
      requirements.txt
  3. 1
    0
      test-requirements.txt

+ 2
- 1
.travis.yml View File

1
 language: python
1
 language: python
2
 python: "2.7"
2
 python: "2.7"
3
 install:
3
 install:
4
-  - pip install ansible ansible-lint
4
+  - pip install -r requirements.txt
5
+  - pip install -r test-requirements.txt
5
 script:
6
 script:
6
   - ansible-playbook --syntax-check -i hosts site.yml
7
   - ansible-playbook --syntax-check -i hosts site.yml
7
   - ansible-lint site.yml
8
   - ansible-lint site.yml

+ 1
- 2
requirements.txt View File

1
-ansible==1.9.3
2
-nose
1
+ansible>=1.9.3,<2

+ 1
- 0
test-requirements.txt View File

1
+ansible-lint>=2.3.9,<3

Loading…
Cancel
Save