Re-enabling docs jobs for Danube
[releng.git] / utils / test / reporting / tox.ini
1 [tox]
2 envlist = pep8,pylint,py27
3
4 [testenv]
5 usedevelop = True
6 deps =
7   -r{toxinidir}/requirements.txt
8   -r{toxinidir}/test-requirements.txt
9 commands = nosetests --with-xunit \
10   --with-coverage \
11   --cover-tests \
12   --cover-package=reporting \
13   --cover-xml \
14   --cover-html \
15   reporting/tests/unit
16
17 [testenv:pep8]
18 basepython = python2.7
19 commands = flake8
20
21 [testenv:pylint]
22 basepython = python2.7
23 whitelist_externals = bash
24 commands =
25   bash -c "\
26   pylint --disable=locally-disabled reporting| \
27     tee pylint.out | sed -ne '/Raw metrics/,//p'"