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.opnfv_tests.sdn.odl
34 functest.tests.unit.core
35 functest.tests.unit.odl
36 functest.tests.unit.utils.test_decorators
37 functest.utils.decorators
40 pylint -f parseable --disable=locally-disabled functest | \
41 tee pylint.out | sed -ne '/Raw metrics/,//p'"
42 pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
46 functest/tests/unit/core
47 functest/tests/unit/odl
48 functest/tests/unit/utils/test_decorators.py
49 commands = nosetests {[testenv:py35]dirs}