Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Eugene Sadovoi 2019-11-11 18:00:54 -08:00
Родитель d4beac43d1
Коммит 43cabf1a18
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -1,8 +1,5 @@
# Build pipeline
trigger:
- master
pool:
vmImage: 'windows-latest'
@ -34,18 +31,22 @@ steps:
# Write-Host "##vso[task.setvariable variable=STAGE_VERSION]$($version)-$($timestamp)"
- task: NuGetToolInstaller@1
displayName: 'Install NuGet'
- task: NuGetCommand@2
displayName: 'Restore Dependencies'
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
displayName: 'Build'
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: VSTest@2
displayName: 'Test'
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'