azure.yml 596 Bytes
Newer Older
Gao, Xiang's avatar
Gao, Xiang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#Multi-configuration and multi-agent job options are not exported to YAML. Configure these options using documentation guidance: https://docs.microsoft.com/vsts/pipelines/process/phases

queue:
  name: Hosted Linux Preview

variables:
  python.version: '3.5, 3.6, >= 3.7.0a'

steps:

- task: UsePythonVersion@0
  displayName: 'Use Python $(python.version)'
  inputs:
    versionSpec: '$(python.version)'

- script: 'python -m pip install --upgrade pip'
  displayName: 'Install dependencies'

- script: 'pip install flake8 && flake8'
  displayName: Flake8
  enabled: false
  continueOnError: true