2 envlist = docs,pep8,pylint,py35,py27
7 -r{toxinidir}/requirements.txt
8 -r{toxinidir}/test-requirements.txt
9 git+https://gerrit.opnfv.org/gerrit/releng#egg=opnfv&subdirectory=modules
10 git+https://gerrit.opnfv.org/gerrit/barometer#egg=baro_tests
11 git+https://gerrit.opnfv.org/gerrit/snaps#egg=snaps
12 commands = nosetests --with-xunit \
15 --cover-package=functest \
21 basepython = python2.7
22 commands = sphinx-build -W -b html api/ api/_build
25 basepython = python2.7
29 basepython = python2.7
30 whitelist_externals = bash
33 functest.core.testcase
35 functest.opnfv_tests.sdn.odl
36 functest.tests.unit.core.test_feature
37 functest.tests.unit.core.test_testcase
38 functest.tests.unit.core.test_unit
39 functest.tests.unit.odl
40 functest.tests.unit.utils.test_decorators
41 functest.utils.decorators
44 pylint -f parseable --disable=locally-disabled functest | \
45 tee pylint.out | sed -ne '/Raw metrics/,//p'"
46 pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
50 functest/tests/unit/core
51 functest/tests/unit/odl
52 functest/tests/unit/utils/test_decorators.py
53 commands = nosetests {[testenv:py35]dirs}