Merge "Check style when running tox"
[functest.git] / tox.ini
1 [tox]
2 envlist = pep8,py27
3
4 [testenv]
5 deps =
6   -r{toxinidir}/requirements.txt
7   -r{toxinidir}/test-requirements.txt
8 commands = nosetests --with-xunit \
9   --with-coverage \
10   --cover-tests \
11   --cover-package=functest \
12   --cover-xml \
13   --cover-html \
14   functest/tests/unit
15
16 [testenv:pep8]
17 basepython = python2.7
18 deps =
19   {[testenv]deps}
20 commands = flake8