aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml21
1 files changed, 13 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 3ac0bc1..7d14e88 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,6 +1,3 @@
-trigger:
-- master
-
jobs:
- job: build
@@ -132,6 +129,13 @@ jobs:
PYVERSION: 3.7.3
PYARCH: 64
+ PY2716_32:
+ PYVERSION: 2.7.16
+ PYARCH: 32
+ PY2716_64:
+ PYVERSION: 2.7.16
+ PYARCH: 64
+
pool:
vmImage: 'vs2017-win2016'
@@ -139,6 +143,11 @@ jobs:
- powershell: .\download.ps1
displayName: 'Run the build'
+ - task: PublishPipelineArtifact@0
+ inputs:
+ targetPath: 'install.log'
+ artifactName: '$(PYVERSION)-$(PYARCH)-install.log'
+
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: 'Python-$(PYVERSION)-$(PYARCH)'
@@ -150,13 +159,9 @@ jobs:
targetPath: '$(Build.ArtifactStagingDirectory)/Python-$(PYVERSION)-$(PYARCH).zip'
artifactName: '$(PYVERSION)-$(PYARCH)'
- - task: PublishPipelineArtifact@0
- inputs:
- targetPath: 'install.log'
- artifactName: '$(PYVERSION)-$(PYARCH)-install.log'
-
- job: release
dependsOn: build
+ condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
pool:
vmImage: 'vs2017-win2016'
steps: