Created
February 15, 2019 11:14
-
-
Save KMConner/8ac80e0a23c1f96d3c968183a4d5519f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: | |
- master | |
pool: | |
vmImage: 'VS2017-Win2016' | |
variables: | |
solution: '**/*.sln' | |
buildPlatform: 'Any CPU' | |
buildConfiguration: 'Release' | |
steps: | |
- task: NuGetToolInstaller@0 | |
- task: DotNetCoreInstaller@0 | |
inputs: | |
packageType: sdk | |
version: '2.1.300' | |
- task: NuGetCommand@2 | |
inputs: | |
restoreSolution: '$(solution)' | |
- task: VSBuild@1 | |
inputs: | |
solution: '$(solution)' | |
platform: '$(buildPlatform)' | |
configuration: '$(buildConfiguration)' | |
- task: VSTest@2 | |
inputs: | |
platform: '$(buildPlatform)' | |
configuration: '$(buildConfiguration)' | |
vsTestVersion: "15.0" | |
testAssemblyVer2: '**/bin/$(buildConfiguration)/**/TestProject.dll' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment