add 3.8 to pipelines

This commit is contained in:
David Lord 2019-11-18 18:57:43 -08:00
parent 33d9f9fa08
commit 824e548036
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 29 additions and 31 deletions

13
tox.ini
View file

@ -2,8 +2,9 @@
envlist =
py{38,37,36,35,27,py3,py}
py38-{simplejson,devel,lowest}
docs-html
docs
coverage
skip_missing_interpreters = true
[testenv]
passenv = LANG
@ -14,7 +15,7 @@ deps =
blinker
python-dotenv
lowest: Werkzeug==0.15
lowest: Werkzeug==0.15.5
lowest: Jinja2==2.10
lowest: itsdangerous==0.24
lowest: Click==5.1
@ -39,16 +40,14 @@ commands =
# courtesy Python nightly test, don't fail the build in CI
ignore_outcome = true
commands =
pip install -q -e examples/tutorial[test]
pip install -q -e examples/javascript[test]
coverage run -p -m pytest --tb=short -Werror --junitxml=test-results.xml {posargs:tests examples}
coverage run -p -m pytest --tb=short -Werror --junitxml=test-results.xml tests
[testenv:stylecheck]
[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:docs-html]
[testenv:docs]
deps =
-r docs/requirements.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html