aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini10
2 files changed, 10 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 66d1b33a..f435e104 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4,3 +4,4 @@
coverage!=4.4,>=4.0 # Apache-2.0
mock>=2.0.0 # BSD
nose>=1.3.7 # LGPL
+yamllint
diff --git a/tox.ini b/tox.ini
index 4ec7b2f7..a92fccf2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = docs,docs-linkcheck,py27
+envlist = docs,docs-linkcheck,py27,yamllint
skipsdist = True
[testenv]
@@ -33,3 +33,11 @@ commands = nosetests --with-xunit \
--cover-xml \
--cover-html \
sfc/unit_tests/unit
+
+[testenv:yamllint]
+basepython = python2.7
+files =
+ docs
+ sfc/tests/functest
+commands =
+ yamllint -s {[testenv:yamllint]files}