-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathtox.ini
51 lines (45 loc) · 889 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
[tox]
envlist = py27, py35, py36, py37, py38
[testenv]
usedevelop = True
commands = {envpython} setup.py test
deps = -rtest_requirements.txt
[testenv:py26]
deps =
-rtest_requirements.txt
unittest2 == 0.5.1
[testenv:docs]
basepython = python2.7
usedevelop = True
commands =
sphinx-apidoc -T -o docs/ lib
make -C docs clean
make -C docs html
whitelist_externals =
make
rm
deps =
-rdocs/requirements.txt
[testenv:coverage]
usedevelop = True
basepython = python2.7
commands =
coverage run --source astunparse setup.py test
coverage report -m
coverage html
deps =
-rtest_requirements.txt
[testenv:ipython]
basepython = python2.7
usedevelop = True
commands = ipython
deps =
ipython
-rtest_requirements.txt
[testenv:ipython3]
basepython = python3.5
usedevelop = True
commands = ipython3
deps =
ipython
-rtest_requirements.txt