X-Git-Url: https://gerrit.onap.org/r/gitweb?p=multicloud%2Fframework.git;a=blobdiff_plain;f=multivimbroker%2Ftox.ini;h=fe4e065c925fbeee8eaacf1d0cbde79ed743ca46;hp=cda89e4e3156b060f4a59ebd95e14024462bf6eb;hb=7c194de2d67a1c71b741345a74ed9a493936fdb0;hpb=c9effec3dc4eaf6c213512df96829e51996d8498 diff --git a/multivimbroker/tox.ini b/multivimbroker/tox.ini index cda89e4..fe4e065 100644 --- a/multivimbroker/tox.ini +++ b/multivimbroker/tox.ini @@ -1,12 +1,15 @@ [tox] -envlist = py27,pep8 +envlist = py36,pep8 skipsdist = true [tox:jenkins] downloadcache = ~/cache/pip [testenv] -deps = -r{toxinidir}/requirements.txt +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 @@ -26,3 +29,13 @@ commands = coverage erase {[testenv]commands} coverage xml -i + +[testenv:rstcheck] +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