[tox] envlist = py27, py36 flake8 [travis] python = 2.7: py27 3.6: py36 [testenv:flake8] basepython = python deps = flake8 commands = flake8 coverplot [testenv] setenv = PYTHONPATH = {toxinidir} commands=python setup.py test