diff options
author | David Lord <davidism@gmail.com> | 2018-05-29 09:30:16 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2018-05-29 11:32:48 -0700 |
commit | 4b32ee7db36e0c902b996ebf349efd4016dceffc (patch) | |
tree | 836531466b91298170b908088cb86b20d4438b14 /tox.ini | |
parent | da0ebcb54330fd9fecaa325577f4bb9f68a2106a (diff) | |
download | click-4b32ee7db36e0c902b996ebf349efd4016dceffc.tar.gz |
update test env matrixci
re-enable windows on appveyor
enable osx on travis
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 36 |
1 files changed, 29 insertions, 7 deletions
@@ -1,13 +1,35 @@ [tox] -envlist = py27,py34,py35,py36,pypy -skip_missing_interpreters = true +envlist = py{36,35,34,27,py} [testenv] passenv = LANG -commands = {env:TEST_RUNNER:pytest} {posargs} deps = pytest - colorama: colorama - coverage: coverage -setenv = - coverage: TEST_RUNNER=coverage run -m pytest + coverage + colorama +commands = coverage run -p -m pytest {posargs:tests} + +[testenv:docs-html] +deps = sphinx +commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html + +[testenv:docs-linkcheck] +deps = sphinx +commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs {envtmpdir}/linkcheck + +[testenv:coverage-report] +deps = coverage +skip_install = true +commands = + coverage combine + coverage report + coverage html + +[testenv:codecov] +passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* +deps = codecov +skip_install = true +commands = + coverage combine + coverage report + codecov |