X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=4b37077f05fb52e7b8e14d3ce374e0d60304a2db;hb=39ab5b6cab5d6c664dc96bbb92781a9eed0aa41d;hp=8ec57fa3712e01b8a3949f4f04d59d496142225d;hpb=0a0b2b3e644e4ce353b37fa340954b78a590e20f;p=functest.git diff --git a/tox.ini b/tox.ini index 8ec57fa37..4b37077f0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,pylint,yamllint,bashate,py35,py27,perm,cover +envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,perm,cover [testenv] usedevelop = True @@ -15,7 +15,6 @@ commands = nosetests --with-xunit \ --cover-package=functest \ --cover-xml \ --cover-html \ - --with-html-output \ functest/tests/unit [testenv:docs] @@ -23,21 +22,14 @@ basepython = python2.7 commands = doc8 \ --ignore-path api/build \ - --ignore-path docs/release/release-notes/build \ - --ignore-path docs/testing/developer/devguide/build \ - --ignore-path docs/testing/user/configguide/build \ - --ignore-path docs/testing/user/userguide/build \ + --ignore-path docs/build \ + --ignore-path docs/_build \ api \ - docs/release/release-notes \ - docs/testing/user/configguide \ - docs/testing/user/userguide + docs sphinx-build -W -b html api/ api/build - sphinx-build -W -n -b html docs/release/release-notes docs/release/release-notes/build/html - sphinx-build -W -n -b html docs/testing/developer/devguide docs/testing/developer/devguide/build/html - sphinx-build -W -n -b html docs/testing/user/configguide docs/testing/user/configguide/build/html - sphinx-build -W -n -b html docs/testing/user/userguide docs/testing/user/userguide/build/html + sphinx-build -W -n -b html docs docs/build/html sphinx-build -W -n -b linkcheck docs docs/_build/linkcheck - sphinx-build -W -n -b html docs docs/_build/html + sphinx-build -W -n -b html -c docs/lfreleng docs docs/_build/html [testenv:pep8] basepython = python2.7 @@ -84,22 +76,29 @@ commands = basepython = python2.7 files = .travis.yml - ci docker functest/ci + functest/opnfv_tests/openstack/rally/blacklist.yaml functest/opnfv_tests/openstack/rally/rally_jobs.yaml + functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml + functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml functest/opnfv_tests/vnf commands = yamllint -s {[testenv:yamllint]files} -[testenv:py35] +[testenv:ansiblelint] +basepython = python2.7 +commands = + ansible-lint ansible/site.yml + +[testenv:py36] dirs = functest/tests/unit/ci functest/tests/unit/odl functest/tests/unit/openstack functest/tests/unit/vnf/epc functest/tests/unit/utils -commands = nosetests {[testenv:py35]dirs} +commands = nosetests {[testenv:py36]dirs} [testenv:bashate] basepython = python2.7