reviewday/tox.ini
Dan Prince e2b4f2d0b3 Add requirements files, tox.ini updates
This patch updates the tox.ini file to create
virtualenv's using the new requirements files.

Also, adds a helper task to run reviewday in
a tox virtualenv. Useful on distros that
don't have launchpadlib packages handy...

Change-Id: I4fd2f70859d02a2402ed3b2387e1a6ffbcf588fd
2015-09-25 14:57:30 -04:00

23 lines
400 B
INI

[tox]
envlist = pyflakes, pep8, py27
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes setup.py reviewday bin
[testenv:pep8]
whitelist_externals = bash
commands = flake8
[testenv:run]
commands = reviewday {posargs}