forked from cdent/gabbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
60 lines (46 loc) · 1.32 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]
minversion = 1.6
skipsdist = True
envlist = py27,py33,py34,py35,pypy,pep8,limit,failskip,docs,py35-prefix,py35-limit,py35-failskip,py27-pytest,py35-pytest
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
commands = python setup.py testr --testr-args="{posargs}"
passenv = GABBI_*
[testenv:venv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:py27-pytest]
commands = py.test gabbi
[testenv:py35-pytest]
commands = py.test gabbi
[testenv:py35-prefix]
setenv = GABBI_PREFIX=/snoopy
[testenv:pep8]
deps = hacking
commands =
flake8
[testenv:limit]
commands = {toxinidir}/test-limit.sh
[testenv:failskip]
commands = {toxinidir}/test-failskip.sh
[testenv:py35-limit]
commands = {toxinidir}/test-limit.sh
[testenv:py35-failskip]
commands = {toxinidir}/test-failskip.sh
[testenv:cover]
commands = python setup.py testr --coverage --testr-args="{posargs}"
[testenv:pytest-cov]
commands = py.test --cov=gabbi gabbi/tests --cov-config .coveragerc --cov-report html
[testenv:docs]
commands =
rm -rf doc/build
python setup.py build_sphinx
whitelist_externals =
rm
[flake8]
ignore = H405,E126
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,docs
show-source = True