forked from HypothesisWorks/hypothesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
78 lines (67 loc) · 1.42 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
[tox]
envlist = py26,py27,pypy,py32,py33,py34,pypy3,lint,django17,django18
setenv=
LC_ALL=en_GB.UTF-8
passenv=HOME
[testenv]
deps =
pytest
whitelist_externals=
bash
setenv=
LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
passenv=HOME
commands =
bash scripts/basic-test.sh
[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:coverage]
basepython=python3.4
deps =
coverage
pytest
commands =
coverage --version
coverage debug sys
coverage run --rcfile=.coveragerc -m pytest --strict tests/cover
coverage report -m --fail-under=100 --show-missing
[testenv:examples3]
setenv=
HYPOTHESIS_STRICT_MODE=true
basepython=python3.4
deps=pytest
commands=
python -m pytest examples/bintree.py
[testenv:examples2]
setenv=
HYPOTHESIS_STRICT_MODE=true
basepython=python2.7
deps=pytest
commands=
python -m pytest examples/bintree.py
[testenv:lint]
basepython=python3.4
whitelist_externals=
bash
deps =
flake8
pyformat
pygments
isort==4.1.0
commands =
bash scripts/lint.sh
[pytest]
addopts=--strict --tb=short -vv