Files @ 0ea99a6aab68
Branch filter:

Location: rattail-project/rattail/tox.ini

Lance Edgar
Various changes to allow custom commands to sit in front of non-Rattail database.

In particular some of the Continuum versioning code required protection
from import failures, and various assumptions about the "default" database
session were refactored.

[tox]
envlist = py26, py27

[testenv]
deps =
        alembic
        coverage
        Fabric
        fixture
        mock
        nose
        py-bcrypt
commands =
        pip install rattail
        nosetests {posargs}

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

[testenv:docs]
basepython = python
deps =
        alembic
        coverage
        Fabric
        fixture
        mock
        nose
        py-bcrypt
        Sphinx
changedir = docs
commands =
        pip install rattail
        sphinx-build -b html -d {envtmpdir}/doctrees -W -T . {envtmpdir}/docs