Index: tox.ini |
=================================================================== |
--- a/tox.ini |
+++ b/tox.ini |
@@ -1,5 +1,5 @@ |
[tox] |
-envlist = py27,py35,py36,pypy,coverage,flake8 |
+envlist = py27,py35,py36,pypy,coverage2,coverage3,flake8 |
[flake8] |
ignore = D107, N801, W503 |
@@ -11,16 +11,27 @@ |
commands = |
py.test tests |
-[testenv:coverage] |
+# We have to install our package in development mode so that pytest-cov can |
+# find the .coverage and .coveragerc files. |
+usedevelop = true |
+ |
+[testenv:coverage2] |
+basepython = python2 |
+setenv = PY_VER = 2 |
deps = |
pytest-cov |
mock |
commands = |
py.test --cov=abp --cov-report=term-missing tests |
-# We have to install our package in development mode |
-# so that pytest-cov can find the .coverage file. |
-usedevelop = true |
+[testenv:coverage3] |
+basepython = python3 |
+setenv = PY_VER = 3 |
+deps = |
+ pytest-cov |
+ mock |
+commands = |
+ py.test --cov=abp --cov-report=term-missing tests |
[testenv:flake8] |
basepython = python3 |