Source

pathlib / tox.ini

[tox]
# XXX Python 3.4 doesn't seem compatible with tox's virtualenv
envlist = py27,py32,py33,docs

[testenv]
deps =
commands = {envpython} -bb test_pathlib.py {posargs}

[testenv:py27]
# Run with both legacy division and new ("true") division
commands =
    {envpython} -bb test_pathlib.py {posargs}
    {envpython} -Qnew -bb test_pathlib.py {posargs}

[testenv:docs]
basepython = python
changedir = docs
deps = -r{toxinidir}/docs/requirements.txt
commands =
    sphinx-build -W -b html -d _build/doctrees .  _build/html