-
Notifications
You must be signed in to change notification settings - Fork 3
/
tox.ini
30 lines (25 loc) · 874 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
[tox]
minversion = 1.8
envlist = py26,py27,py33,py34,pep8
skip_missing_interpreters = true
[testenv]
# exit after 2 failures, report fail info, log the 3 slowest tests, display test coverage within the module
commands = py.test --maxfail=2 -rf --durations=3 --cov disq --cov-report html --cov-report term --benchmark-skip {posargs}
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:benchmark]
commands = py.test --maxfail=2 -rf --benchmark-only {posargs}
[testenv:pep8]
commands = pep8
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[pep8]
#ignore = H305,H307,H402,H904
show-source = True
exclude = .venv,.git,.tox,dist,docs,*egg,build,*setup.py