Files @ 21f6baf8652a
Branch filter:

Location: rattail-project/rattail/tox.ini

lance
Add tox support; fix several test oddities.
# -*- coding: utf-8 -*-

[tox]
envlist = py26, py27

[testenv]
deps =
        coverage
        fixture
        mock
        nose
commands = nosetests {posargs}

[testenv:coverage]
basepython = python
commands = nosetests {posargs:--with-coverage --cover-html-dir={envtmpdir}/coverage}

[testenv:docs]
basepython = python
deps = Sphinx
changedir = docs
commands = sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs