
Set up whereto so that any redirect rules added to the .htaccess file can be tested. Change-Id: I2238a2163c26b7df9c6a3dfaf0f8701631ff2cc5 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
23 lines
483 B
INI
23 lines
483 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs,py27
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
whitelist_externals =
|
|
rm
|
|
commands =
|
|
rm -rf doc/build
|
|
python setup.py build_sphinx
|
|
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
|