forked from tqdm/tqdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
91 lines (77 loc) · 1.9 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
# Tox (https://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
# deprecation warning: py{26,32,33,34}
envlist = py{26,27,33,34,35,36,37,py,py3}, flake8, setup.py, perf
[coverage]
deps =
nose
coverage
coveralls
commands =
nosetests --with-coverage --cover-package=tqdm --ignore-files="tests_p(erf|andas)\.py" -d -v tqdm/
- coveralls
[extra]
deps =
{[coverage]deps}
nose-timer
codecov
commands =
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_p(erf|andas)\.py" -d -v tqdm/
- coveralls
codecov
[testenv]
# default tests (most things)
passenv = CI TRAVIS TRAVIS_*
deps =
{[extra]deps}
cython
numpy
pandas
commands =
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
- coveralls
codecov
# no cython/numpy/pandas for py{py,py3,26,33,37}
[testenv:py26]
# no codecov and timer for py26
deps = {[coverage]deps}
commands = {[coverage]commands}
[testenv:pypy]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:pypy3]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:py33]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:py34]
# py34-compatible pandas
deps =
{[extra]deps}
cython
numpy
pandas<0.21
[testenv:py37]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:perf]
deps =
nose
nose-timer
commands =
nosetests --with-timer tqdm/tests/tests_perf.py -d -v
[testenv:flake8]
deps = flake8
commands =
flake8 --max-line-length=80 -j 8 --count --statistics --exit-zero .
[testenv:setup.py]
deps =
docutils
pygments
commands =
python setup.py check --restructuredtext --metadata --strict
python setup.py make none