forked from Kinto/kinto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (45 loc) · 1.06 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
[tox]
envlist = py36,py36-raw,py37,lint
skip_missing_interpreters = True
[testenv]
passenv = TRAVIS
commands =
python --version
py.test --cov-report term-missing --cov-branch --cov-fail-under 100 --cov kinto {posargs}
deps =
-rdev-requirements.txt
-crequirements.txt
psycopg2
newrelic
raven
statsd
install_command = pip install {opts} {packages}
[testenv:lint]
# XXX: To be removed once jsonschema 3 is released (#1900)
pip_pre=true
commands = therapist run --use-tracked-files kinto tests docs/conf.py
deps =
-rlint-requirements.txt
[testenv:py36-raw]
passenv = TRAVIS
commands =
python --version
py.test {posargs}
deps =
bravado_core
pytest
pytest-cache
pytest-cover
pytest-sugar
webtest
werkzeug
[testenv:docs]
# XXX: To be removed once jsonschema 3 is released (#1900)
pip_pre=true
commands = sphinx-build -a -W -n -b html -d docs/_build/doctrees docs docs/_build/html
deps =
-rdocs/requirements.txt
[flake8]
max-line-length = 99
ignore = E203, E266, E501, W503
exclude = .git,__pycache__,node_modules