Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ install:
build: off

test_script:
- python -m tox -e py27,py34,py35,py36
- python -m tox -e py27,py35,py36-win
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ matrix:
- os: linux
python: 3.6
env: TOXENV=py36
- os: linux
python: 3.7-dev
env: TOXENV=py37
# - os: linux
# python: 3.7-dev
# env: TOXENV=py37
# # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow
# - os: linux
# python: pypy
Expand Down
70 changes: 67 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[tox]
envlist = py27,py34,py35,py36,jython,pypy
envlist = py27,py33,py34,py35,py36,py36-winpy37,pypy

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*

[testenv:py27]
deps =
codecov
mock
Expand All @@ -11,8 +13,70 @@ deps =
pytest
pytest-cov
six
commands=
commands =
py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
{envpython} examples/example.py --test examples/exampleSession.txt
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
six
commands =
py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
codecov

[testenv:py36-win]
deps =
mock
pyparsing
pyperclip
pytest
pytest-xdist
six
commands = py.test -v -n2

[testenv:py37]
deps =
mock
pyparsing
pyperclip
pytest
pytest-xdist
six
commands = py.test -v -n2