-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (32 loc) · 765 Bytes
/
tox.ini
File metadata and controls
37 lines (32 loc) · 765 Bytes
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 = py34,py35,py36,coverage,flake8,pylint,mypy
[testenv]
commands =
pip install -e .[testing] -c constraints.txt
py.test webdispatch
[testenv:coverage]
passenv =
CI
TRAVIS
TRAVIS_*
basepython = python3.6
commands =
pip install -e .[testing] -c constraints.txt
pip install codecov
py.test webdispatch --cov=webdispatch --cov-report=term-missing
codecov
[testenv:flake8]
basepython = python3.6
commands =
pip install -e .[testing] -c constraints.txt
flake8 webdispatch
[testenv:pylint]
basepython = python3.6
commands =
pip install -e .[testing] -c constraints.txt
pylint webdispatch
[testenv:mypy]
basepython = python3.6
commands =
pip install -e .[testing] -c constraints.txt
mypy --ignore-missing-imports webdispatch