forked from FluentValidation/FluentValidation
-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
41 lines (34 loc) · 858 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'
windows:
imageName: 'windows-2019'
trigger:
- master
pool:
vmImage: $(imageName)
steps:
- pwsh: ./build.ps1 -t get-dotnet-version
displayName: 'Get .NET Core version to use'
- task: DotNetCoreInstaller@0
inputs:
version: $(dotnetVersion)
displayName: '.NET Core SDK Installer'
- pwsh: ./build.ps1 -t ci
displayName: 'Build'
env:
kek: $(kek)
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
failTaskOnFailedTests: true
#- task: NuGetCommand@2
# displayName: 'NuGet push'
# inputs:
# command: push
# publishVstsFeed: 'FluentValidation-ci'
# allowPackageConflicts: true
# packagesToPush: '$(Build.SourcesDirectory)/.build/packages/*.nupkg'
# condition: eq( variables['Agent.OS'], 'Windows_NT' )