28 lines
761 B
INI
28 lines
761 B
INI
|
|
[tox]
|
|
envlist = py27, py35
|
|
|
|
[testenv]
|
|
commands =
|
|
pip install --upgrade pip
|
|
pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests]
|
|
nosetests {posargs}
|
|
|
|
[testenv:coverage]
|
|
basepython = python
|
|
deps = invoke
|
|
commands =
|
|
pip install --upgrade pip
|
|
pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests] appy luigi xlrd
|
|
nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}
|
|
|
|
[testenv:docs]
|
|
basepython = python
|
|
deps =
|
|
Sphinx
|
|
changedir = docs
|
|
commands =
|
|
pip install --upgrade pip
|
|
pip install --upgrade --upgrade-strategy eager rattail[auth,bouncer,db,tests]
|
|
sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs
|