summaryrefslogtreecommitdiffstats
path: root/windriver/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/tox.ini')
-rw-r--r--windriver/tox.ini11
1 files changed, 9 insertions, 2 deletions
diff --git a/windriver/tox.ini b/windriver/tox.ini
index dd34e479..e5a65d39 100644
--- a/windriver/tox.ini
+++ b/windriver/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27,cov
+envlist = py27,cov,pylint
skipsdist = true
[tox:jenkins]
@@ -13,7 +13,9 @@ max-complexity = 27
[testenv]
setenv =
PYTHONPATH = {toxinidir}/../share
-deps = -r{toxinidir}/requirements.txt
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage run --branch manage.py test titanium_cloud
coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*,*starlingx_base*" --fail-under=30
@@ -25,3 +27,8 @@ commands=flake8
[testenv:cov]
commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"
+[testenv:pylint]
+whitelist_externals = bash
+commands =
+ bash -c "\
+ pylint -f parseable --reports=y titanium_cloud | tee pylint.out"