Pillow/.azure-pipelines/jobs/lint.yml

29 lines
517 B
YAML
Raw Normal View History

parameters:
name: '' # defaults for any parameters that aren't specified
vmImage: ''
jobs:
- job: ${{ parameters.name }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
matrix:
Python37:
python.version: '3.7'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
- script: |
2019-02-21 22:02:46 +03:00
python -m pip install --upgrade tox
displayName: 'Install dependencies'
- script: |
2019-02-21 22:02:46 +03:00
tox -e lint
displayName: 'Lint'