Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
04546a54cf
commit
fe4bfc1448
|
@ -1,13 +1,35 @@
|
||||||
# Azure Pipelines Build Configuration
|
# Azure Pipelines Build Configuration
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
batch: true
|
||||||
|
paths:
|
||||||
|
include: 'Src/*'
|
||||||
|
|
||||||
|
pr:
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
exclude: '**/*.md'
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'VS2017-Win2016'
|
vmImage: 'VS2017-Win2016'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
solution: '**/*.sln'
|
solution: '**/*.sln'
|
||||||
buildConfiguration: 'Release'
|
|
||||||
packagesFolder: 'Build/packages'
|
packagesFolder: 'Build/packages'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
-job: Test
|
||||||
|
variables:
|
||||||
|
buildConfiguration: 'Debug'
|
||||||
|
|
||||||
|
-job: Release
|
||||||
|
displayName: 'Release'
|
||||||
|
dependsOn: Test
|
||||||
|
condition: succeeded()
|
||||||
|
variables:
|
||||||
|
buildConfiguration: 'Release'
|
||||||
steps:
|
steps:
|
||||||
- task: NuGetToolInstaller@0
|
- task: NuGetToolInstaller@0
|
||||||
|
|
||||||
|
@ -115,4 +137,3 @@ steps:
|
||||||
testResultsFormat: 'NUnit'
|
testResultsFormat: 'NUnit'
|
||||||
testResultsFiles: '**/*.xml'
|
testResultsFiles: '**/*.xml'
|
||||||
searchFolder: 'TestResults'
|
searchFolder: 'TestResults'
|
||||||
#testRunTitle: # Optional
|
|
Loading…
Reference in New Issue