Skip to content
Myr

azure pipelines ci on 1.0.x branch

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 ded0f68 · Browse files · 6 files+115 added−101 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+115 added−101 removed

  • other:+115 added−101 removed

6 files+115 added−101 removed

deleted:.appveyor.yml-26 removed
added:.azure-pipelines.yml+85 added
1trigger:2 - 'master'3 - '*.x'45jobs:6 - job: Flask7 variables:8 vmImage: ubuntu-latest9 python.version: '3.7'10 python.architecture: 'x64'11 TOXENV: 'py,coverage-ci'12 publish.test.results: 'true'13 CODECOV_TOKEN: '$(codecov.token)'1415 strategy:16 matrix:17 Python37Linux:18 python.version: '3.7'19 Python37Windows:20 python.version: '3.7'21 vmImage: 'windows-latest'22 Python37Mac:23 python.version: '3.7'24 vmImage: 'macos-latest'25 Pypy3Linux:26 python.version: 'pypy3'27 Python36Linux:28 python.version: '3.6'29 Python35Linux:30 python.version: '3.5'31 Python27Linux:32 python.version: '2.7'33 Python27Windows:34 python.version: '2.7'35 vmImage: 'windows-latest'36 DocsHtml:37 TOXENV: 'docs-html'38 publish.test.results: 'false'39 VersionRange:40 TOXENV: 'devel,lowest,coverage-ci'4142 pool:43 vmImage: $[ variables.vmImage ]4445 steps:46 - task: UsePythonVersion@047 inputs:48 versionSpec: $(python.version)49 architecture: $(python.architecture)50 displayName: Use Python $(python.version)5152 - script: pip --disable-pip-version-check install -U tox53 displayName: Install tox5455 - script: tox -- --junitxml=test-results.xml tests examples56 displayName: Run tox5758 - task: PublishTestResults@259 inputs:60 testResultsFiles: test-results.xml61 testRunTitle: $(Agent.JobName)62 condition: eq(variables['publish.test.results'], 'true')63 displayName: Publish test results6465 - task: PublishCodeCoverageResults@166 inputs:67 codeCoverageTool: Cobertura68 summaryFileLocation: coverage.xml69 condition: eq(variables['publish.test.results'], 'true')70 displayName: Publish coverage results7172 # Test on the nightly version of Python.73 # Use a container since Azure Pipelines may not have the latest build.74 - job: FlaskOnNightly75 pool:76 vmImage: ubuntu-latest77 container: python:rc-stretch78 steps:79 - script: |80 echo "##vso[task.prependPath]$HOME/.local/bin"81 pip --disable-pip-version-check install --user -U tox82 displayName: Install tox8384 - script: tox -e nightly85 displayName: Run tox
deleted:.travis.yml-57 removed
modified:CONTRIBUTING.rst+2 added
8 unmodified lines
9Please, don't use the issue tracker for this. Use one of the following10resources for questions about your own code:1112* The ``#get-help`` channel on our Discord chat: https://discord.gg/t6rrQZH1314 * The IRC channel ``#pocoo`` on FreeNode is linked to Discord, but15 Discord is preferred.1617* The mailing list flask@python.org for long term discussion or larger issues.18* Ask on `Stack Overflow`_. Search with Google first using:19 ``site:stackoverflow.com flask {search term, exception message, etc.}``20
175 unmodified lines
modified:README.rst+1 added-5 removed
61 unmodified lines
62* License: `BSD <https://github.com/pallets/flask/blob/master/LICENSE>`_63* Releases: https://pypi.org/project/Flask/64* Code: https://github.com/pallets/flask65* Issue tracker: https://github.com/pallets/flask/issues66* Test status:6768 * Linux, Mac: https://travis-ci.org/pallets/flask69 * Windows: https://ci.appveyor.com/project/pallets/flask7066* Test status: https://dev.azure.com/pallets/pallets/_build?definitionId=267* Test coverage: https://codecov.io/gh/pallets/flask68* Official chat: https://discord.gg/t6rrQZH6970.. _WSGI: https://wsgi.readthedocs.io
3 unmodified lines
modified:tox.ini+27 added-13 removed
1[tox]2envlist =3 py{37,36,35,34,27,py}4 py{37,27,py}-simplejson5 py{37,27,py}-devel6 py{37,27,py}-lowest3 py{37,36,35,27,py3,py}4 py37-{simplejson,devel,lowest}5 docs-html8 coverage-report6 coverage78[testenv]9passenv = LANG10deps =13 pytest>=311 pytest12 coverage13 greenlet14 blinker15 python-dotenv
16 unmodified lines
32 pip install -q -e examples/tutorial[test]33 pip install -q -e examples/javascript[test]3435 # pytest-cov doesn't seem to play nice with -p38 coverage run -p -m pytest tests examples36 coverage run -p -m pytest --tb=short {posargs:tests examples}3738[testenv:nightly]39# courtesy Python nightly test, don't fail the build in CI40ignore_outcome = true41commands =42 pip install -q -e examples/tutorial[test]43 pip install -q -e examples/javascript[test]44 coverage run -p -m pytest --tb=short --junitxml=test-results.xml {posargs:tests examples}4546[testenv:stylecheck]47deps = pre-commit48skip_install = true49commands = pre-commit run --all-files --show-diff-on-failure5051[testenv:docs-html]52deps =53 -r docs/requirements.txt54commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html5545[testenv:coverage-report]56[testenv:coverage]57deps = coverage58skip_install = true59commands =60 coverage combine50 coverage report61 coverage html62 coverage report6353[testenv:codecov]54passenv = CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*55deps = codecov64[testenv:coverage-ci]65passenv = CODECOV_TOKEN66deps =67 coverage68 codecov69skip_install = true70commands =71 coverage combine59 coverage report72 codecov73 coverage xml74 coverage report