[tox]
envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report


[testenv]
passenv = LC_ALL
deps = -rdev-requirements.txt
commands =
    coverage run --parallel -m pytest {posargs}
    coverage run --parallel -m doc2dash --help


[testenv:flake8]
basepython = python3.6
deps = flake8
skip_install = true
commands = flake8 setup.py src tests


[testenv:manifest]
basepython = python3.6
deps = check-manifest
skip_install = true
commands = check-manifest


[testenv:readme]
basepython = python3.6
deps = readme_renderer
skip_install = true
commands = python setup.py check -r -s


[testenv:docs]
basepython = python3.6
deps = sphinx
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html


[testenv:coverage-report]
basepython = python3.6
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report

[tox]
envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report


[testenv]
passenv = LC_ALL
deps = -rdev-requirements.txt
commands =
    coverage run --parallel -m pytest {posargs}
    coverage run --parallel -m doc2dash --version


[testenv:flake8]
basepython = python3.6
deps = flake8
skip_install = true
commands = flake8 setup.py src tests


[testenv:manifest]
basepython = python3.6
deps = check-manifest
skip_install = true
commands = check-manifest


[testenv:readme]
basepython = python3.6
deps = readme_renderer
skip_install = true
commands = python setup.py check -r -s


[testenv:docs]
basepython = python3.6
deps = sphinx
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html


[testenv:coverage-report]
basepython = python3.6
deps = coverage
skip_install = true
commands =
    coverage combine
    coverage report

Use shorter output to test __main__
Use shorter output to test __main__
