Files @ a70552534acd
Branch filter:

Location: rattail-project/rattail/tox.ini

lance
Tweak `util.pretty_hours()` logic per python 3

[tox]
envlist = py27

[testenv]
deps = Fabric
commands =
        pip install --upgrade rattail[auth,bouncer,db,tests]
        nosetests {posargs}

[testenv:coverage]
basepython = python
commands =
        pip install --upgrade rattail[auth,bouncer,db,tests] appy xlrd
        nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}

[testenv:docs]
basepython = python
deps =
    Fabric
    Sphinx
changedir = docs
commands =
        pip install --upgrade rattail[auth,bouncer,db,tests]
        sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs