summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index df929a76..532c78de 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,13 +2,14 @@
envlist = py34,py35,py36,py37,py38,flake8
[testenv]
-commands = nosetests {posargs}
+commands = python -m unittest --buffer {posargs}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
passenv = HOME
[testenv:cover]
-commands = nosetests --with-coverage {posargs}
+commands = coverage run --omit="git/test/*" -m unittest --buffer {posargs}
+ coverage report
[testenv:flake8]
commands = flake8 --ignore=W293,E265,E266,W503,W504,E731 {posargs}