-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (32 loc) · 794 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[tox]
envlist = py35,py36,py37
[testenv:pytest]
deps =
-r{toxinidir}/requirements/test.txt
pytest
pytest-cov
commands = pytest {posargs} --cov=boltun
[testenv:pycodestyle]
deps =
-r{toxinidir}/requirements/test.txt
pycodestyle
max-line-length = 120
exclude = .git,tox,.tox,__pycache__,venv*,.venv*,.eggs
[testenv:pylint]
deps =
-r{toxinidir}/requirements/test.txt
pylint
commands = pylint --rcfile={toxinidir}/.pylintrc sources/boltun
[testenv:codecov]
deps =
-r{toxinidir}/requirements/test.txt
codecov>=1.4.0
commands = codecov -e TOXENV
passenv = TOXENV CI TRAVIS TRAVIS_*
[travis]
python =
3.5: py35, pep8, pytest
3.5-dev: py35, pep8, pytest
3.6: py36, pep8, pytest
3.6-dev: py36, pep8, pytest
3.7-dev: py37, pep8, pytest