Skip to content

Commit

Permalink
Take #3
Browse files Browse the repository at this point in the history
  • Loading branch information
afscrome committed Dec 22, 2018
1 parent 06a91ab commit 9760018
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
pool:
name: Hosted VS2017

vmImage: 'Hosted VS2017'
variables:
buildConfiguration: Release
sln: ./IronVelocity.sln
tests: ./test/**/*.csproj
buildConfiguration: 'Release'
sln: './IronVelocity.sln'
tests: './test/**/*.csproj'

steps:
- script: dotnet build --configuration $(buildConfiguration) $(sln)
- script: dotnet test $(tests) --logger trx
- script: |
dotnet build $(sln) --configuration $(buildConfiguration)
dotnet test $(tests) --configuration $(buildConfiguration) --logger trx
dotnet publish $(sln) --configuration $(buildConfiguration) --output $BUILD_ARTIFACTSTAGINGDIRECTORY
- task: PublishTestResults@2
condition: always()
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
condition: always()

- task: PublishBuildArtifacts@1

0 comments on commit 9760018

Please # to comment.