-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (40 loc) · 780 Bytes
/
tox.ini
File metadata and controls
45 lines (40 loc) · 780 Bytes
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
[tox]
envlist =
py35,
py36,
py37,
py38,
py39,
docs,
flake8
[base]
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
[testenv:docs]
basepython=python
changedir=docs
deps=
datakit-core
sphinx
commands=
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 datakit_github
[testenv]
deps =
-r{toxinidir}/requirements-dev.txt
commands =
pip install -U pip
py.test --vcr-record=none --basetemp={envtmpdir}
passenv =
HOME
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt