# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

# AppVeyor note: lint and lint2 are currently failing, but this appears to be an
# AppVeyor issue (all tests work pass locally on varius OS's and in travis) so
# these tests have simply been commented out

[tox]
envlist =
  py27,
  py35,
  py36,
  py37
#  lint2,
#  lint

[testenv]
commands = py.test --verbose tests
deps =
    pytest
    pytest-mock

[testenv:lint2]
basepython=python2.7
deps =
    pylint
    pycodestyle
    pytest
    pytest-mock
commands=
  pylint -E {envsitepackagesdir}/omnisharp {toxinidir}/tests
  pycodestyle {envsitepackagesdir}/omnisharp {toxinidir}/tests

[testenv:lint]
basepython=python3.7
deps =
    pylint
    pycodestyle
    pytest
    pytest-mock
commands=
  pylint -E {envsitepackagesdir}/omnisharp {toxinidir}/tests
  pycodestyle {envsitepackagesdir}/omnisharp {toxinidir}/tests

[testenv:coverage]
basepython=python3.7
deps =
    pytest
    pytest-mock
    pytest-cov
commands = py.test --verbose --cov=omnisharp --cov-report html tests

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

# AppVeyor note: lint and lint2 are currently failing, but this appears to be an
# AppVeyor issue (all tests work pass locally on varius OS's and in travis) so
# these tests have simply been commented out

[tox]
envlist =
#  py27,
  py35,
  py36,
  py37
#  lint2,
#  lint

[testenv]
commands = py.test --verbose tests
deps =
    pytest
    pytest-mock

[testenv:lint2]
basepython=python2.7
deps =
    pylint
    pycodestyle
    pytest
    pytest-mock
commands=
  pylint -E {envsitepackagesdir}/omnisharp {toxinidir}/tests
  pycodestyle {envsitepackagesdir}/omnisharp {toxinidir}/tests

[testenv:lint]
basepython=python3.7
deps =
    pylint
    pycodestyle
    pytest
    pytest-mock
commands=
  pylint -E {envsitepackagesdir}/omnisharp {toxinidir}/tests
  pycodestyle {envsitepackagesdir}/omnisharp {toxinidir}/tests

[testenv:coverage]
basepython=python3.7
deps =
    pytest
    pytest-mock
    pytest-cov
commands = py.test --verbose --cov=omnisharp --cov-report html tests

Remove py2 tests from appveyor
Remove py2 tests from appveyor

appveyor tests are failing with python2. These are running fine in
travis, and appveyor is successfully running the python3 tests so these
can be safely excluded from the appveyor suite.
