-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
73 lines (50 loc) · 1.27 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
# tox (https://tox.readthedocs.io/) 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]
minversion=2.7.0
envlist = py36,py37,docs
usedevelop = True
workdir = .
[testenv]
develop = True
pip_pre = True
; deps =
; -r tools/requirement.txt
passenv = '*'
usedevelop = true
commands =
python setup.py test
[testenv:py36]
description =
Run setup.py test for python3.6.
; deps =
[testenv:py37]
description =
Run setup.py test for python3.7.
deps =
sphinx
IPython
; [testenv:flake8]
; description =
; Run flake8, benchmark and doctest.
; commands =
; flake8 --config=setup.cfg --doctest --benchmark
; deps = flake8
; [testenv:sphinx-build]
; description =
; Build documentation.
; deps =
; sphinx
; changedir=docs
; commands =
; python setup.py build_sphinx {posargs}
[testenv:docs]
description =
Check sphinx-build can create docs correctly. Enable all docs to be build
using no pre-existing environment, drop to PDB on error, log to tox_docs.log
in the current dir.
commands = sphinx-build -b html -c docs -aEP -w tox_docs.log docs docs/build/html
deps =
sphinx