aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-26 07:50:18 -0800
committerDavid Lord <davidism@gmail.com>2020-01-26 10:09:36 -0800
commit7c3d08886520d6a19108577cb737839401cb61ed (patch)
treea31a524a9f75ca0854fd83a323e01d0b13879068 /tox.ini
parentf81c229f63c927d313c0cd0ba09a002d54571d16 (diff)
downloadmarkupsafe-7c3d08886520d6a19108577cb737839401cb61ed.tar.gz
finish Azure Pipelines config
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini38
1 files changed, 7 insertions, 31 deletions
diff --git a/tox.ini b/tox.ini
index 8e07c65..679ebeb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,44 +1,20 @@
[tox]
envlist =
- py{37,36,35,34,27,py3,py3,py}
- stylecheck
- docs-html
- coverage-report
+ py{38,37,36,35,27,py3,py}
+ style
+ docs
skip_missing_interpreters = true
[testenv]
-setenv =
- COVERAGE_FILE = .coverage.{envname}
deps =
- pytest-cov
-commands = pytest --tb=short --cov --cov-report= {posargs}
+ pytest
+commands = pytest --tb=short --basetemp={envtmpdir} {posargs}
-[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
-
-[testenv:coverage-report]
-setenv =
- COVERAGE_FILE = .coverage
-deps = coverage
-skip_install = true
-commands =
- coverage combine
- coverage html
- coverage report
-
-[testenv:codecov]
-passenv = CI TRAVIS TRAVIS_*
-setenv =
- COVERAGE_FILE = .coverage
-deps = codecov
-skip_install = true
-commands =
- coverage combine
- codecov
- coverage report