Explorar el Código

Use ansible-lint==2.3.6

Before sudo rule merge
https://github.com/willthames/ansible-lint/pull/96

* Add test-requirements.txt
* travis: enable cache for pip packages
Laurent Arnoud hace 8 años
padre
commit
bfe6fe8479
No account linked to committer's email address
Se han modificado 3 ficheros con 7 adiciones y 2 borrados
  1. 6
    1
      .travis.yml
  2. 0
    1
      requirements.txt
  3. 1
    0
      test-requirements.txt

+ 6
- 1
.travis.yml Ver fichero

@@ -1,7 +1,12 @@
1 1
 language: python
2 2
 python: "2.7"
3
+cache:
4
+  directories:
5
+    - $HOME/.cache/pip
3 6
 install:
4
-  - pip install ansible ansible-lint
7
+  # TODO: use requirements.txt when ansible updated to >= 1.9
8
+  - pip install ansible
9
+  - pip install -r test-requirements.txt
5 10
 script:
6 11
   - ansible-playbook --syntax-check -i hosts site.yml
7 12
   - ansible-lint site.yml

+ 0
- 1
requirements.txt Ver fichero

@@ -1,2 +1 @@
1 1
 ansible==1.6.6
2
-

+ 1
- 0
test-requirements.txt Ver fichero

@@ -0,0 +1 @@
1
+ansible-lint==2.3.6

Loading…
Cancelar
Guardar