summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ganssle <paul@ganssle.io>2019-11-02 12:44:30 -0400
committerPaul Ganssle <paul@ganssle.io>2019-11-02 21:46:39 -0400
commit58a4e46021dd2e441d443e65d260b97c19d49bd5 (patch)
tree0cbd4045d06d273c186384eaef9503ecc46f0efb
parent55301cd0ed2f768e3b9a1265fabf61f66ba3fac5 (diff)
downloaddateutil-git-58a4e46021dd2e441d443e65d260b97c19d49bd5.tar.gz
Add "news" environment to tox
Moving to a model where dependencies are provided by `tox` as needed where possible.
-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