diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-02 19:40:04 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-02 19:40:04 -0400 |
| commit | f76e11b23dbeb66e2f9a36d32cc83d2824783b48 (patch) | |
| tree | fac3a78e4072cbdb971e263a61b8cd87e2f07ec6 | |
| parent | c859fe2da3873fea446f29e6af3e7b2c052ad435 (diff) | |
| download | cmd2-git-f76e11b23dbeb66e2f9a36d32cc83d2824783b48.tar.gz | |
Only install code coverage dependencies on platforms which are going to do code coverage
| -rw-r--r-- | tox.ini | 41 |
1 files changed, 39 insertions, 2 deletions
@@ -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 |
