aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 13 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index c59e46c3..4cd53b03 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = docs,pep8,pylint,py27
+envlist = docs,pep8,pylint,py35,py27
[testenv]
usedevelop = True
@@ -25,9 +25,18 @@ deps =
commands = flake8
[testenv:pylint]
-basepython=python2.7
-deps=
+basepython = python2.7
+deps =
{[testenv]deps}
whitelist_externals = bash
-commands=bash -c \
+commands = bash -c \
"pylint --persistent=n functest | sed -ne '/Raw metrics/,//p'"
+
+[testenv:py35]
+dirs =
+ functest/tests/unit/core
+ functest/tests/unit/odl
+deps =
+ -r{toxinidir}/requirements.py3.txt
+ -r{toxinidir}/test-requirements.txt
+commands = nosetests --exclude=test_vnf {[testenv:py35]dirs}