[tox]
envlist = py27,py34,py35,pep8,coverage
skip_missing_interpreters = True

[testenv]
deps = -e{toxinidir}[test]
commands = py.test -v {posargs}

[testenv:pep8]
basepython = python3.5
deps = flake8
commands = flake8 server

[testenv:coverage]
basepython = python3.5
deps = {[testenv]deps}
commands =
    coverage run --source server -m py.test {posargs}
    coverage report -m --fail-under=100

[pytest]
testpaths = server

[tox]
envlist = py27,py34,py35,pep8,coverage
skip_missing_interpreters = True

[testenv]
deps = -e{toxinidir}[test]
commands = py.test -v {posargs}

[testenv:pep8]
basepython = python3.5
deps = flake8
commands = flake8 server setup.py

[testenv:coverage]
basepython = python3.5
deps = {[testenv]deps}
commands =
    coverage run --source server -m py.test {posargs}
    coverage report -m --fail-under=100

[pytest]
testpaths = server

Add setup.py to pep8 test
Add setup.py to pep8 test
