[tox]
envlist = py34,py35,py36,py37,py35-win,py36-win

[pytest]
testpaths = tests

[testenv]
passenv = CI TRAVIS TRAVIS_* APPVEYOR*
setenv =
    PYTHONPATH={toxinidir}

[testenv:py34]
deps =
  codecov
  pyperclip
  pytest
  pytest-cov
  pytest-mock
  argcomplete
  wcwidth
commands =
  py.test {posargs} --cov
  codecov

[testenv:py35]
deps =
  mock
  pyperclip
  pytest
  pytest-mock
  argcomplete
  wcwidth
commands = py.test -v

[testenv:py35-win]
deps =
  mock
  pyperclip
  pyreadline
  pytest
commands = py.test -v

[testenv:py36]
deps =
  codecov
  pyperclip
  pytest
  pytest-cov
  pytest-mock
  argcomplete
  wcwidth
commands =
  py.test {posargs} --cov
  codecov

[testenv:py36-win]
deps =
  codecov
  pyperclip
  pyreadline
  pytest
  pytest-cov
commands =
  py.test {posargs} --cov
  codecov

[testenv:py37]
deps =
  pyperclip
  pytest
  pytest-mock
  argcomplete
  wcwidth
commands = py.test -v

