mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
49 lines
982 B
YAML
49 lines
982 B
YAML
# Python package
|
|
# Create and test a Python package on multiple Python versions.
|
|
# Add steps that analyze code, save the dist with the build record,
|
|
# publish to a PyPI-compatible index, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
|
|
|
|
trigger:
|
|
- master
|
|
|
|
jobs:
|
|
|
|
- template: .azure-pipelines/jobs/lint.yml
|
|
parameters:
|
|
name: Lint
|
|
vmImage: 'Ubuntu-16.04'
|
|
|
|
- template: .azure-pipelines/jobs/test.yml
|
|
parameters:
|
|
name: Linux
|
|
vmImage: 'Ubuntu-16.04'
|
|
|
|
- template: .azure-pipelines/jobs/test.yml
|
|
parameters:
|
|
name: macOS
|
|
vmImage: 'xcode9-macos10.13'
|
|
|
|
- template: .azure-pipelines/jobs/test.yml
|
|
parameters:
|
|
name: Windows
|
|
vmImage: 'vs2017-win2016'
|
|
|
|
- job: Publish
|
|
dependsOn:
|
|
- Lint
|
|
- Linux
|
|
- macOS
|
|
- Windows
|
|
pool:
|
|
vmImage: 'Ubuntu-16.04'
|
|
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.x'
|
|
architecture: 'x64'
|
|
|
|
- script: python setup.py sdist
|
|
displayName: 'Build sdist'
|