X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=multivimbroker%2Ftox.ini;h=83cf1d9abde3ce4b89306e70069db478058f716a;hb=c69631da638dc5919ea9b2a0e2cfe4c99499dcca;hp=af3b3a5096c9ba6d6c09e5107f6db23f5ca520f8;hpb=a2dcefabf7239c4687c3ab01e03796e017211285;p=multicloud%2Fframework.git diff --git a/multivimbroker/tox.ini b/multivimbroker/tox.ini index af3b3a5..83cf1d9 100644 --- a/multivimbroker/tox.ini +++ b/multivimbroker/tox.ini @@ -1,12 +1,19 @@ [tox] -envlist = py27,pep8 +envlist = py36,pep8,cover skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip [testenv] -deps = -r{toxinidir}/requirements.txt +basepython = + py36: python3 + pep8: python3 + cover: python3 +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + commands = /usr/bin/find . -type f -name "*.py[c|o]" -delete python manage.py test multivimbroker @@ -15,9 +22,9 @@ commands = deps=flake8 commands=flake8 -[testenv:py27] -commands = - {[testenv]commands} +# [testenv:py27] +# commands = +# {[testenv]commands} [testenv:cover] setenv= @@ -32,3 +39,7 @@ deps = rstcheck whitelist_externals = bash commands = bash -c "find ../docs -not -path {toxinidir}/.tox/\* \ -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning" + +[testenv:docs] +deps = sphinx +commands = sphinx-build -b html ../docs/ ../docs/html