aboutsummaryrefslogtreecommitdiff
path: root/CI/build-pipeline.yml
diff options
context:
space:
mode:
Diffstat (limited to 'CI/build-pipeline.yml')
-rw-r--r--CI/build-pipeline.yml33
1 files changed, 15 insertions, 18 deletions
diff --git a/CI/build-pipeline.yml b/CI/build-pipeline.yml
index 31b587b0..c515f181 100644
--- a/CI/build-pipeline.yml
+++ b/CI/build-pipeline.yml
@@ -4,24 +4,21 @@ trigger:
variables:
buildConfiguration: 'Debug'
ASPNETCORE_ENVIRONMENT: 'Development'
-stages:
-- stage: Build
- jobs:
- - job: Build
- pool:
- vmImage: 'Ubuntu-16.04'
- steps:
- - script: |
- dotnet restore Timeline/Timeline.csproj --configfile nuget.config
- dotnet restore Timeline.Tests/Timeline.Tests.csproj --configfile nuget.config
- displayName: Dotnet Restore
- - script: dotnet test Timeline.Tests/Timeline.Tests.csproj --configuration $(buildConfiguration) --no-restore --logger trx
- displayName: Dotnet Test
+pool:
+ vmImage: 'Ubuntu-16.04'
- - task: PublishTestResults@2
- condition: succeededOrFailed()
- inputs:
- testRunner: VSTest
- testResultsFiles: '**/*.trx'
+steps:
+- script: |
+ dotnet restore Timeline/Timeline.csproj --configfile nuget.config
+ dotnet restore Timeline.Tests/Timeline.Tests.csproj --configfile nuget.config
+ displayName: Dotnet Restore
+- script: dotnet test Timeline.Tests/Timeline.Tests.csproj --configuration $(buildConfiguration) --no-restore --logger trx
+ displayName: Dotnet Test
+
+- task: PublishTestResults@2
+ condition: succeededOrFailed()
+ inputs:
+ testRunner: VSTest
+ testResultsFiles: '**/*.trx'