Skip to content
Myr

switch tests to azure pipelines

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 0f5f201 · Browse files · 6 files+91 added−104 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+91 added−104 removed

  • other:+91 added−104 removed

6 files+91 added−104 removed

added:.azure-pipelines.yml+61 added
deleted:.coveragerc-11 removed
1[run]2branch = True3source =4 jinja25 tests67[paths]8source =9 jinja210 .tox/*/lib/python*/site-packages/jinja211 .tox/pypy/site-packages/jinja2
deleted:.travis.yml-46 removed
deleted:Makefile-21 removed
1test:2 py.test tests --tb=short34develop:5 pip install --editable .67tox-test:8 @tox910release:11 python scripts/make-release.py1213upload-docs:14 $(MAKE) -C docs html dirhtml latex15 $(MAKE) -C docs/_build/latex all-pdf16 cd docs/_build/; mv html jinja-docs; zip -r jinja-docs.zip jinja-docs; mv jinja-docs html17 scp -r docs/_build/dirhtml/* flow.srv.pocoo.org:/srv/websites/jinja.pocoo.org/docs/18 scp -r docs/_build/latex/Jinja2.pdf flow.srv.pocoo.org:/srv/websites/jinja.pocoo.org/docs/jinja-docs.pdf19 scp -r docs/_build/jinja-docs.zip flow.srv.pocoo.org:/srv/websites/jinja.pocoo.org/docs/2021.PHONY: test
modified:setup.cfg+15 added-4 removed
1[bdist_wheel]2universal = 131[metadata]2license_file = LICENSE34[bdist_wheel]5universal = true67[tool:pytest]8minversion = 3.08testpaths = tests910[coverage:run]11branch = True12source =13 jinja214 tests1516[coverage:paths]17source =18 src/jinja219 .tox/*/lib/python*/site-packages/jinja220 .tox/*/site-packages/jinja2
modified:tox.ini+15 added-22 removed
1[tox]2envlist =3 py{36,35,34,33,27,26,py}3 py{37,36,35,27,py3,py}4 docs-html5 coverage-report5 coverage6skip_missing_interpreters = true78[testenv]8passenv = LANG9usedevelop = true9deps =11 pytest>=310 coverage11 pytest12commands = coverage run -p -m pytest --tb=short --basetemp={envtmpdir} {posargs}1314commands = coverage run -p -m pytest {posargs}1514[testenv:docs-html]17deps = sphinx18commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html15deps =16 Sphinx17 Pallets-Sphinx-Themes18 sphinx-issues19commands = sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html2020[testenv:docs-linkcheck]21deps = sphinx22commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck2324[testenv:coverage-report]21[testenv:coverage]22deps = coverage23skip_install = true24commands =25 coverage combine29 coverage report26 coverage html27 coverage report2832[testenv:codecov]33passenv = CI TRAVIS TRAVIS_*34deps = codecov29[testenv:coverage-ci]30deps = coverage31skip_install = true32commands =37 # install argparse for 2.638 python -c 'import sys, pip; sys.version_info < (2, 7) and pip.main(["install", "argparse", "-q"])'33 coverage combine40 coverage report41 codecov34 coverage xml