summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 9 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 3b126f7..b1b7a1b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -78,6 +78,15 @@ commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_o
sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" {posargs:-W --color -blinkcheck}
python setup.py check -r -s
+
+[testenv:news]
+description = Invoke towncrier to update the NEWS file
+basepython = python3.7
+passenv = *
+deps = towncrier
+commands =
+ towncrier {posargs}
+
[testenv:build]
description = Build an sdist and bdist
basepython = python3.7