Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
azure-pipelines[bot] 2019-01-01 22:59:54 +00:00
parent 04546a54cf
commit fe4bfc1448
1 changed files with 116 additions and 95 deletions

View File

@ -1,13 +1,35 @@
# Azure Pipelines Build Configuration
trigger:
batch: true
paths:
include: 'Src/*'
pr:
branches:
include:
- master
paths:
exclude: '**/*.md'
pool:
vmImage: 'VS2017-Win2016'
variables:
solution: '**/*.sln'
buildConfiguration: 'Release'
packagesFolder: 'Build/packages'
jobs:
-job: Test
variables:
buildConfiguration: 'Debug'
-job: Release
displayName: 'Release'
dependsOn: Test
condition: succeeded()
variables:
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
@ -115,4 +137,3 @@ steps:
testResultsFormat: 'NUnit'
testResultsFiles: '**/*.xml'
searchFolder: 'TestResults'
#testRunTitle: # Optional