[tox] envlist= py{27,34,35}, flake8 skipsdist=true [flake8] max-line-length= 100 exclude= tests/* [testenv] passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH commands = py.test --cov-report= --cov=rtmbot {posargs:tests} coveralls deps = -r{toxinidir}/requirements-dev.txt -r{toxinidir}/requirements.txt basepython = py27: python2.7 py34: python3.4 py35: python3.5 [testenv:flake8] basepython=python deps=flake8 commands= flake8 \ {toxinidir}/rtmbot.py \ {toxinidir}/rtmbot/core.py \ {toxinidir}/setup.py \ {toxinidir}/docs/example-plugins