[tox]
envlist = py26, py27, py33, py34, flake8

[testenv]
deps = -rrequirements-dev.txt
commands =
    coverage erase
    coverage run --source=pyramid_zipkin/ -m pytest -vv {posargs:tests}
    coverage combine
    coverage report -m --show-missing --fail-under 100

[testenv:flake8]
deps = flake8
commands =
    flake8 pyramid_zipkin tests

[testenv:docs]
deps = {[testenv]deps}
    sphinx
changedir = docs
commands = sphinx-build -b html -d build/doctrees source build/html

[flake8]
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,docs,pyramid_zipkin/zipkinCore
max_line_length = 82

[tox]
envlist = py26, py27, py33, py34, flake8

[testenv]
deps = -rrequirements-dev.txt
commands =
    coverage erase
    coverage run --source=pyramid_zipkin/ -m pytest -vv {posargs:tests}
    coverage combine
    coverage report -m --show-missing --fail-under 100

[testenv:flake8]
basepython = /usr/bin/python2.7
deps = flake8
commands =
    flake8 pyramid_zipkin tests

[testenv:docs]
basepython = /usr/bin/python2.7
deps = {[testenv]deps}
    sphinx
changedir = docs
commands = sphinx-build -b html -d build/doctrees source build/html

[flake8]
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,docs,pyramid_zipkin/zipkinCore
max_line_length = 82

Use py27 for flake8 / docs
Use py27 for flake8 / docs
