Merge "Adding basic tox set for pep8 and python 27"

This commit is contained in:
Jenkins 2014-01-29 23:40:39 +00:00 committed by Gerrit Code Review
commit dbc8efc487
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,4 @@
unittest2
tox
mock
flake8
nose

18
tox.ini Normal file
View File

@ -0,0 +1,18 @@
[tox]
envlist=pep8,py27
[testenv]
setenv=VIRTUAL_ENV={envdir}
deps=-r{toxinidir}/pip-requires
-r{toxinidir}/test-requirements.txt
[testenv:py27]
commands=nosetests
[testenv:pep8]
commands=flake8
[flake8]
ignore=F401
exclude=.git,.idea,docs,.tox,bin,dist,tools,*.egg-info