[tox] envlist = lint, packaging, py26, py27, py33, py34, py35, py36, py37 skip_missing_interpreters = true [testenv] deps= -r{toxinidir}/dev-requirements.txt commands= coverage run -m pytest tests/ coverage report -m coverage html passenv = TRAVIS APPVEYOR [testenv:py26] # Additional dependency on unittest2 for Python 2.6 deps= {[testenv]deps} unittest2 [testenv:lint] commands = python -m pip install flake8 flake8 --max-line-length 100 rfc6555.py [testenv:packaging] commands = check-manifest --ignore *.yml,.mention-bot,.appveyor*,.travis*,.github* python setup.py check --metadata --restructuredtext --strict