diff --git a/tox.ini b/tox.ini index 048ba11..67e9f0b 100644 --- a/tox.ini +++ b/tox.ini @@ -31,13 +31,14 @@ envlist = # Runs on the "tests" directory by default, or passes the positional # arguments from `tox -e py ... commands = + python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords')" coverage run -p -m pytest --durations=20 {posargs:tests} coverage combine coverage xml extras = # See the [options.extras_require] entry in setup.cfg for "tests" tests - + [testenv:doctests] description = Test that documentation examples run properly commands =