[tox]
envlist = py27

[testenv]
setenv =
    TOXINIDIR = {toxinidir}
commands =
    pip install Twisted # required by Epsilon in setup.py egg-info...
    pip install Epsilon # required by Axiom in setup.py egg-info...
    pip install -r {toxinidir}/requirements.txt
    pip install -r {toxinidir}/requirements-testing.txt
    pip install -r {toxinidir}/requirements-docs.txt

    coverage run \
        {envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:clarent}
    coverage report --show-missing
    coverage html --directory {envdir}/coverage

    sphinx-build -n -b doctest docs {envdir}/built_docs/html
    sphinx-build -n -b html docs {envdir}/built_docs/html

[tox]
envlist = py27

[testenv]
setenv =
    TOXINIDIR = {toxinidir}
commands =
    pip install -r {toxinidir}/requirements.txt
    pip install -r {toxinidir}/requirements-testing.txt
    pip install -r {toxinidir}/requirements-docs.txt

    coverage run \
        {envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:clarent}
    coverage report --show-missing
    coverage html --directory {envdir}/coverage

    sphinx-build -n -b doctest docs {envdir}/built_docs/html
    sphinx-build -n -b html docs {envdir}/built_docs/html

Remove manual installs since we don't use Axiom anyway
Remove manual installs since we don't use Axiom anyway
