set up coverage
[tox]
-envlist = py36,py37
+envlist = py36,py37,coverage
[testenv]
platform = linux2|darwin
changedir = tests
#deps = -rrequirements.txt
deps = discover
-commands = discover
+commands =
+ discover
python -m spacy download en_core_web_sm
+[testenv:coverage]
+deps = coverage
+commands =
+ coverage erase
+ coverage run -m unittest discover
+ coverage report --omit='.tox/*'
+ coverage html --omit='.tox/*'
+
[testenv:docs]
-basepython = python3.7
-deps = mkdocs >= 1.7.5, < 2
+deps =
+ mkdocs >= 1.7.5, < 2
mkdocs-material
-commands = mkdocs build --clean
+commands =
+ mkdocs build --clean
mkdocs serve -a localhost:8080
\ No newline at end of file
