e2b4f2d0b3
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
23 lines
400 B
INI
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}
|