diff options
author | valentin boucher <valentin.boucher@orange.com> | 2017-05-22 13:12:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-22 13:12:55 +0000 |
commit | cfe41e13b6de3c71e963f2bb8cd574c19a84690d (patch) | |
tree | 563afeaaf4b145701b05cdb7b40604855db3300b /tox.ini | |
parent | 11e81955122f66f8d4d211fb81c1111af2eddbee (diff) | |
parent | 3b008aed434448a543611c73afa282596f8b3f5d (diff) |
Merge "Check python3 support when running tox"
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -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} |