-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
89 lines (76 loc) · 1.76 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
# 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_perf\.py" -d -v tqdm/
- coveralls
[extra]
deps =
{[coverage]deps}
nose-timer
codecov
commands =
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
- coveralls
codecov
[testenv]
passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_*
deps =
{[extra]deps}
cython
numpy
pandas
commands = {[extra]commands}
# no cython/numpy/pandas for py{py,py3,26,33,34}
[testenv:py26]
# no codecov and timer for py26
deps =
nose
coverage
coveralls==1.2.0
codecov
pycparser==2.18
idna==2.7
commands =
{[coverage]commands}
codecov
[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}
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 -j 8 --count --statistics --exit-zero .
[testenv:setup.py]
deps =
docutils
pygments
py-make>=0.1.0
commands =
python setup.py check --restructuredtext --metadata --strict
python setup.py make none