Skip to content

Commit

Permalink
Add "news" environment to tox
Browse files Browse the repository at this point in the history
Moving to a model where dependencies are provided by `tox` as needed
where possible.
  • Loading branch information
pganssle committed Nov 2, 2019
1 parent deaf117 commit e3dfa09
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3dfa09

Please sign in to comment.