tox.ini 348 Bytes
Newer Older
Pedro Rodrigues's avatar
Pedro Rodrigues committed
1
[tox]
2
envlist = py36,py37,codestyle,pypi-lint
Pedro Rodrigues's avatar
Pedro Rodrigues committed
3 4 5 6
skip_missing_interpreters = True

[testenv]
deps =
7
    mock
Pedro Rodrigues's avatar
Pedro Rodrigues committed
8 9
    pytest
    slackclient
10

Pedro Rodrigues's avatar
Pedro Rodrigues committed
11 12 13 14
commands = py.test

[testenv:codestyle]
deps = pycodestyle
15
commands = pycodestyle errbot tests --ignore=E252
Pedro Rodrigues's avatar
Pedro Rodrigues committed
16 17

[testenv:pypi-lint]
18
deps = docutils
Pedro Rodrigues's avatar
Pedro Rodrigues committed
19
commands = python setup.py check --restructured --strict --metadata