
* template modified a bit to fit in more beautiful way * tests written * test environment py27 created Change-Id: I9ad9483609ff63e44d46900004a3266620dc0078
25 lines
577 B
INI
25 lines
577 B
INI
[tox]
|
|
envlist = docs,py27
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
LANG=en_US.UTF-8
|
|
LANGUAGE=en_US:en
|
|
LC_ALL=C
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands =
|
|
python setup.py test --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands =
|
|
sphinx-build -b html -W doc/source/ doc/build/html
|
|
sphinx-build -b latex -W doc/source/ doc/build/latex
|
|
sphinx-build -b pdf -W doc/source/ doc/build/pdf
|