forked from HypothesisWorks/hypothesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
61 lines (53 loc) · 999 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[tox]
envlist = py26,py27,pypy,py32,py33,py34,pypy3,lint
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: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
commands =
bash scripts/lint.sh
[pytest]
addopts=--strict --tb=short -vv