Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
04546a54cf
commit
fe4bfc1448
|
@ -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
|
Loading…
Reference in New Issue