forked from taverntesting/tavern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
60 lines (53 loc) · 1.19 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tox]
envlist = py27,py34,py35,py36,py37,pypy,pypy3,py27lint,py36lint
skip_missing_interpreters = true
[testenv]
extras =
tests
commands =
{envbindir}/python -m pytest --cov-report term-missing --cov tavern
[testenv:py27lint]
basepython = python2.7
deps =
pylint
pytest
paho-mqtt
commands =
pylint tavern --rcfile={toxinidir}/.pylintrc
[testenv:py36lint]
basepython = python3.6
# In 2.0, pylint added a dependency on a package which requires gcc to be
# installed so it doesn't work if you're running it in an alpine container.
deps =
pylint<2
pytest
paho-mqtt
commands =
pylint tavern --rcfile={toxinidir}/.pylintrc
[testenv:py27flakes]
basepython = python2.7
deps =
pylama
commands =
pylama tavern -o {toxinidir}/pytest.ini -l pyflakes
[testenv:py37flakes]
basepython = python3.7
deps =
pylama
commands =
pylama tavern -o {toxinidir}/pytest.ini -l pyflakes
[testenv:py37mypy]
basepython = python3.7
deps =
mypy
setenv =
MYPYPATH = {toxinidir}
commands =
mypy -p tavern --config-file {toxinidir}/mypy.ini
# [testenv:docs]
# deps =
# pytest
# -rrequirements.txt
# -rdocs/source/requirements.txt
# commands =
# python setup.py docs