[tox]
envlist = py{27,34,35,py}-pip{8,9,latest},flake8

[testenv]
deps =
    piplatest: pip
    pip8: pip~=8.0
    pip9: pip~=9.0
    coverage
    pytest
    pyyaml
commands =
    pip --version
    python -m coverage run --source prequ -m pytest \
        --strict --doctest-modules {posargs:tests/ prequ/}
    python -m coverage report -m
    python -m coverage html

[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 prequ tests --max-line-length=120

[tox]
envlist = py{27,34,35,py}-pip{8,9,latest},flake8

[testenv]
deps =
    piplatest: pip
    pip8: pip~=8.0
    pip9: pip~=9.0
    pytest
    pytest-cov
    pyyaml
commands =
    pip --version
    py.test --cov=prequ \
        --strict --doctest-modules {posargs:tests/ prequ/}

[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 prequ tests --max-line-length=120

Use pytest-cov for coverage collection
Use pytest-cov for coverage collection
