[tox]
envlist=py27,doc

[testenv]
deps=
    sphinx
    lxml
    launchpadlib
    mock
    pytest
commands=
    py.test --junitxml={envlogdir}/tests.xml []

[testenv:doc]
deps=
    sphinx
    lxml
commands=
    sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html

[tox]
envlist=py27,doc

[testenv]
deps=
    sphinx>=1.0.7
    lxml
    launchpadlib
    mock>=0.7
    pytest>=2.0
commands=
    py.test --junitxml={envlogdir}/tests.xml []

[testenv:doc]
deps=
    sphinx>=1.0.7
    lxml
commands=
    sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html

Enforce specific versions of testsuite dependencies
Enforce specific versions of testsuite dependencies
