ubot2/tox.ini

34 lines
570 B
INI
Raw Permalink Normal View History

[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 \
2016-07-11 09:32:30 -07:00
{toxinidir}/docs/example-plugins