forked from Kinto/kinto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (41 loc) · 865 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
38
39
40
41
42
43
44
45
46
[tox]
envlist = py35-raw,py35,py36,flake8
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:flake8]
commands = flake8 kinto tests docs/conf.py
deps =
setuptools<36
flake8
[testenv:py35-raw]
passenv = TRAVIS
commands =
python --version
py.test {posargs}
deps =
bravado_core
mock
pytest==3.3.2
pytest-cache
pytest-cover
pytest-sugar
webtest
werkzeug
[testenv:docs]
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