diff options
author | David Lord <davidism@gmail.com> | 2019-07-20 12:44:26 -0700 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2019-07-20 12:44:26 -0700 |
commit | d04d9998d325db0e54d1cfa037542a30a6c8bcd6 (patch) | |
tree | d078929a24529646b41b64aded06b3fdec56b976 /tox.ini | |
parent | 0f5f2010bb10bb10a7f8ac93d0ba68294f07c413 (diff) | |
download | jinja-d04d9998d325db0e54d1cfa037542a30a6c8bcd6.tar.gz |
switch tests to azure pipelines
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 37 |
1 files changed, 15 insertions, 22 deletions
@@ -1,41 +1,34 @@ [tox] envlist = - py{36,35,34,33,27,26,py} + py{37,36,35,27,py3,py} docs-html - coverage-report + coverage +skip_missing_interpreters = true [testenv] -passenv = LANG -usedevelop = true deps = - pytest>=3 coverage - -commands = coverage run -p -m pytest {posargs} + pytest +commands = coverage run -p -m pytest --tb=short --basetemp={envtmpdir} {posargs} [testenv:docs-html] -deps = sphinx -commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html - -[testenv:docs-linkcheck] -deps = sphinx -commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck +deps = + Sphinx + Pallets-Sphinx-Themes + sphinx-issues +commands = sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html -[testenv:coverage-report] +[testenv:coverage] deps = coverage skip_install = true commands = coverage combine - coverage report coverage html + coverage report -[testenv:codecov] -passenv = CI TRAVIS TRAVIS_* -deps = codecov +[testenv:coverage-ci] +deps = coverage skip_install = true commands = - # install argparse for 2.6 - python -c 'import sys, pip; sys.version_info < (2, 7) and pip.main(["install", "argparse", "-q"])' coverage combine - coverage report - codecov + coverage xml |