X-Git-Url: https://gerrit.onap.org/r/gitweb?p=multicloud%2Fframework.git;a=blobdiff_plain;f=multivimbroker%2Ftox.ini;h=ef0387e7d3ac94fef48bf28e223f4a1e7b53163d;hp=4db044a062c961b806edfe87419d5aa956784a01;hb=e3e4aaf2140c94fe0811c40186df2f860a2346d7;hpb=2e18b448e0f99ba90d22be929c6bfa2cd4e8adb1 diff --git a/multivimbroker/tox.ini b/multivimbroker/tox.ini index 4db044a..ef0387e 100644 --- a/multivimbroker/tox.ini +++ b/multivimbroker/tox.ini @@ -6,7 +6,10 @@ skipsdist = true 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 @@ -25,3 +28,14 @@ setenv= 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