summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-07-02 19:40:04 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-07-02 19:40:04 -0400
commitf76e11b23dbeb66e2f9a36d32cc83d2824783b48 (patch)
treefac3a78e4072cbdb971e263a61b8cd87e2f07ec6
parentc859fe2da3873fea446f29e6af3e7b2c052ad435 (diff)
downloadcmd2-git-f76e11b23dbeb66e2f9a36d32cc83d2824783b48.tar.gz
Only install code coverage dependencies on platforms which are going to do code coverage
-rw-r--r--tox.ini41
1 files changed, 39 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index dca82a58..82dec38b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,8 @@ envlist = py27,py33,py34,py35,py36,py37,pypy
[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*
+
+[testenv:py27]
deps =
codecov
mock
@@ -12,26 +14,61 @@ deps =
pytest-cov
pytest-xdist
six
-
-[testenv:py27]
commands =
py.test -v -n2 --cov=cmd2 --basetemp={envtmpdir} {posargs}
codecov
[testenv:py33]
+deps =
+ mock
+ pyparsing
+ pyperclip
+ pytest
+ pytest-xdist
+ six
commands = py.test -v -n2
[testenv:py34]
+deps =
+ mock
+ pyparsing
+ pyperclip
+ pytest
+ pytest-xdist
+ six
commands = py.test -v -n2
[testenv:py35]
+deps =
+ mock
+ pyparsing
+ pyperclip
+ pytest
+ pytest-xdist
+ six
commands = py.test -v -n2
[testenv:py36]
+deps =
+ codecov
+ mock
+ pyparsing
+ pyperclip
+ pytest
+ pytest-cov
+ pytest-xdist
+ six
commands =
py.test -v -n2 --cov=cmd2 --basetemp={envtmpdir} {posargs}
codecov
[testenv:py37]
+deps =
+ mock
+ pyparsing
+ pyperclip
+ pytest
+ pytest-xdist
+ six
commands = py.test -v -n2