diff options
-rw-r--r-- | .appveyor.yml | 2 | ||||
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | tox.ini | 70 |
3 files changed, 71 insertions, 7 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index bfac7f07..c397472f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 5deb0667..3afcb263 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 @@ -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 + |