2013-05-19 00:27:49 +08:00
|
|
|
[tox]
|
2017-01-11 01:20:53 +08:00
|
|
|
envlist = {py26,py27,pypy}-{lowest,release,devel}{,-simplejson}, {py33,py34,py35,py36}-{release,devel}{,-simplejson}
|
2016-06-04 00:29:12 +08:00
|
|
|
|
|
|
|
|
2013-05-19 00:27:49 +08:00
|
|
|
|
|
|
|
[testenv]
|
2016-11-03 00:56:59 +08:00
|
|
|
passenv = LANG
|
2016-11-01 06:10:27 +08:00
|
|
|
usedevelop=true
|
2014-09-01 06:30:27 +08:00
|
|
|
commands =
|
2016-11-03 00:56:59 +08:00
|
|
|
# We need to install those after Flask is installed.
|
|
|
|
pip install -e examples/flaskr
|
|
|
|
pip install -e examples/minitwit
|
2017-01-01 01:08:25 +08:00
|
|
|
pip install -e examples/patterns/largerapp
|
2017-02-10 01:34:16 +08:00
|
|
|
pytest --cov=flask --cov-report html []
|
2014-09-01 06:00:20 +08:00
|
|
|
deps=
|
|
|
|
pytest
|
2016-11-01 06:10:27 +08:00
|
|
|
pytest-cov
|
2014-09-04 20:34:10 +08:00
|
|
|
greenlet
|
2014-04-26 07:13:19 +08:00
|
|
|
|
2014-09-01 06:30:27 +08:00
|
|
|
lowest: Werkzeug==0.7
|
2014-09-01 22:33:28 +08:00
|
|
|
lowest: Jinja2==2.4
|
2014-09-01 06:30:27 +08:00
|
|
|
lowest: itsdangerous==0.21
|
|
|
|
lowest: blinker==1.0
|
|
|
|
release: blinker
|
2016-04-04 05:11:38 +08:00
|
|
|
devel: git+https://github.com/pallets/werkzeug.git
|
|
|
|
devel: git+https://github.com/pallets/jinja.git
|
|
|
|
devel: git+https://github.com/pallets/itsdangerous.git
|
2015-12-04 08:19:24 +08:00
|
|
|
devel: git+https://github.com/jek/blinker.git
|
2016-06-04 00:29:12 +08:00
|
|
|
simplejson: simplejson
|
2014-04-26 07:13:19 +08:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
deps = sphinx
|
|
|
|
commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
|