summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 6 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 91bef64..de1fb38 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,10 +1,12 @@
[tox]
-envlist = py26,py27,py33,py34,pypy
+envlist = py{26,27,33,34,35,36,py}
[testenv]
passenv = LANG
-commands = make test
+commands = {env:TEST_RUNNER:pytest} {posargs}
deps =
- colorama
pytest
-whitelist_externals = make
+ colorama: colorama
+ coverage: coverage
+setenv =
+ coverage: TEST_RUNNER=coverage run -m pytest