forked from HypothesisWorks/hypothesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
162 lines (140 loc) · 3.3 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[tox]
envlist = py{27,33,34,35,py}-{brief,prettyquick,full,custom,benchmark}
toxworkdir={env:TOX_WORK_DIR:.tox}
passenv=
HOME
LC_ALL
COVERAGE_FILE
[testenv]
deps =
pytest==2.8.2
flaky
benchmark: pytest-benchmark==3.0.0
whitelist_externals=
bash
setenv=
brief: HYPOTHESIS_PROFILE=speedy
passenv=
HOME
TOXENV
commands =
full: bash scripts/basic-test.sh
brief: python -m pytest tests/cover/test_testdecorators.py {posargs}
prettyquick: python -m pytest tests/cover/
custom: python -m pytest {posargs}
benchmark: python -m pytest benchmarks
[testenv:oldpy27]
basepython=python2.7.3
deps=
pytest==2.8.2
flaky
uncompyle6
commands=
python -m pytest tests/cover/
[testenv:unicode]
basepython=python2.7
deps =
unicode-nazi
setenv=
UNICODENAZI=true
PYTHONPATH=.
commands=
python scripts/unicodechecker.py
[testenv:fakefactory052]
basepython=python3.5
deps =
pytest==2.8.2
commands =
pip install --no-use-wheel fake-factory==0.5.2
python -m pytest tests/fakefactory
[testenv:fakefactory060]
basepython=python3.5
deps =
pytest==2.8.2
commands =
pip install --no-use-wheel fake-factory==0.6.0
python -m pytest tests/fakefactory
[testenv:fakefactory053]
basepython=python3.5
deps =
pytest==2.8.2
commands =
pip install --no-use-wheel fake-factory==0.5.3
python -m pytest tests/fakefactory
[testenv:django17]
basepython=python3.4
commands =
pip install .[datetime]
pip install --no-use-wheel .[fakefactory]
pip install django>=1.7,<1.7.99
python -m tests.django.manage test tests.django
[testenv:django18]
basepython=python3.4
commands =
pip install .[datetime]
pip install --no-use-wheel .[fakefactory]
pip install django>=1.8,<1.8.99
python -m tests.django.manage test tests.django
[testenv:django19]
basepython=python3.4
commands =
pip install .[datetime]
pip install --no-use-wheel .[fakefactory]
pip install django>=1.9,<1.9.99
python -m tests.django.manage test tests.django
[testenv:nose]
basepython=python3.5
deps =
nose
commands=
nosetests tests/cover/test_testdecorators.py
[testenv:pytest30]
basepython=python3.5
deps =
pytest==3.0.0
commands=
python -m pytest tests/pytest tests/cover/test_testdecorators.py
[testenv:pytest27]
basepython=python3.5
deps =
pytest==2.7.3
commands=
python -m pytest tests/pytest tests/cover/test_testdecorators.py
[testenv:pytest26]
basepython=python2.7
deps =
pytest==2.6.3
commands=
python -m pytest tests/cover/test_testdecorators.py
[testenv:docs]
basepython=python3.4
deps = sphinx
commands=sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html
[testenv:coverage]
basepython=python3.4
deps =
coverage
pytest==2.8.2
pytz
flaky
commands =
coverage --version
coverage debug sys
coverage run --rcfile=.coveragerc -m pytest --strict tests/cover tests/datetime tests/py3 --maxfail=1 {posargs}
coverage report -m --fail-under=100 --show-missing
[testenv:examples3]
setenv=
HYPOTHESIS_STRICT_MODE=true
basepython=python3.4
deps=pytest==2.8.2
commands=
python -m pytest examples
[testenv:examples2]
setenv=
HYPOTHESIS_STRICT_MODE=true
basepython=python2.7
deps=pytest==2.8.2
commands=
python -m pytest examples
[pytest]
addopts=--strict --tb=short -vv -p pytester --runpytest=subprocess