Skip to content

Commit

Permalink
azure-pipeline: Test with Python 3.5 and 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed May 15, 2019
1 parent 81f2ee5 commit efe66bc
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,22 @@ trigger:
include:
- master

parameters:
pythonVersions: ['3.7', '3.6', '3.5'],
operatingSystems: ['ubuntu-16.04', 'macos-10.13', 'vs2017-win2016']

jobs:

- job: 'Test'
displayName: "Evaluate cookiecutter template"

strategy:
matrix:
Linux:
imageName: 'ubuntu-16.04'
macOS:
imageName: 'macos-10.13'
Windows:
imageName: 'vs2017-win2016'
${{ each py in parameters.pythonVersions }}:
${{ each os in parameters.operatingSystems }}:
${{ format('{0}{1}', py, os) }}:
imageName: ${{ image }}
pythonVersion: ${{ py }}

pool:
vmImage: $(imageName)
Expand All @@ -24,7 +27,7 @@ jobs:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
versionSpec: '$(pythonVersion)'
architecture: 'x64'

- script: |
Expand Down

0 comments on commit efe66bc

Please sign in to comment.