forked from eshaan7/Flask-Shell2HTTP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (34 loc) · 817 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
[tox]
envlist =
flake8,
docs-html,
py{36,37,38,39}-flask1
py{36,37,38,39}-flask2
[testenv:flake8]
changedir = {toxinidir}
commands = flake8 . --count
deps = flake8
[testenv]
commands =
nosetests --with-coverage
setenv =
PIP_INDEX_URL = https://pypi.python.org/simple/
deps =
-r requirements.dev.txt
flask1: flask>=1.1.0,<2.0.0
flask2: flask>=2.0.0,<3.0.0
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39, flake8, docs-html
# Configuration for coverage and flake8 is being set in `./setup.cfg`
[testenv:codecov]
passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*
commands = codecov -e TOXENV
deps = codecov>=2.1.10
[testenv:docs-html]
deps =
-r requirements.dev.txt
commands = sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html