[tox]
envlist = py26,py34,doc

[testenv]
setenv=LD_LIBRARY_PATH={envdir}/lib
downloadcache={toxworkdir}/_download
deps=
    docutils>=0.9
    pytest>=2.8
    mock>=1.0b1
    coverage
    hypothesis
    pyjournalctl
commands=
    py.test {posargs:--junitxml={envname}-tests.xml -rsx}
    coverage run --timid --branch -m py.test {posargs:--junitxml={envname}-tests.xml}
    coverage report --include="{envsitepackagesdir}/pyudev/*"
    coverage html --include="{envsitepackagesdir}/pyudev/*"

[testenv:doc]
downloadcache={toxworkdir}/_download
deps=
    mock>=1.0b1
    pytest>=2.8
    sphinx>=1.0.7
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,py34,doc

[testenv]
setenv=LD_LIBRARY_PATH={envdir}/lib
downloadcache={toxworkdir}/_download
deps=
    docutils>=0.9
    pytest>=2.8
    mock>=1.0b1
    coverage
    hypothesis
    pyjournalctl
commands=
    py.test {posargs:--junitxml={envname}-tests.xml -rsx}
    coverage run --timid --branch -m py.test {posargs:--junitxml={envname}-tests.xml}
    coverage report --include="{envsitepackagesdir}/pyudev/*"
    coverage html --include="{envsitepackagesdir}/pyudev/*"

[testenv:doc]
downloadcache={toxworkdir}/_download
deps=
    mock>=1.0b1
    pytest>=2.8
    sphinx>=1.0.7
commands=
    sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck
    sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html

Make the environment 2.7, not 2.6.
Make the environment 2.7, not 2.6.

Signed-off-by: mulhern <7b51bcf507bcd7afb72bf8663752c0ddbeb517f6@redhat.com>
