[tox]
envlist = py27,py33,py34,py35,py36,py37,pypy

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*

[testenv:py27]
deps =
  codecov
  mock
  pyparsing
  pyperclip
  pytest
  pytest-cov
  pytest-xdist
  six
commands =
  py.test -v -n2 --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
  pytest-xdist
  six
commands =
  py.test -v -n2 --cov=cmd2 --basetemp={envtmpdir} {posargs}
  {envpython} examples/example.py --test examples/exampleSession.txt
  codecov

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


[tox]
envlist = py27,py33,py34,py35,py36,py37,pypy

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*

[testenv:py27]
deps =
  codecov
  mock
  pyparsing
  pyperclip
  pytest
  pytest-cov
  six
commands =
  py.test -v --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
  six
commands =
  py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
  codecov

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


Stop trying to use pytest-xdist when using pytest-cov
Stop trying to use pytest-xdist when using pytest-cov

It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor.
It appears to calculate the code coverage incorrectly when using pytest-xdist.
