forked from elastic/elasticsearch-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
74 lines (71 loc) · 2.01 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
jobs:
- job: LinuxUnitTests
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UseDotNet@2
inputs:
version: '3.0.100'
- script: ./build.sh test-one
displayName: 'build and unit test'
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: 'src/Tests/Tests/**/*.trx'
testRunTitle: Linux Unit Tests
- job: WindowsCanaryTests
pool:
vmImage: 'vs2017-win2016'
steps:
- task: UseDotNet@2
inputs:
version: '3.0.100'
- script: build.bat canary
displayName: 'build and unit test'
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: 'src/Tests/Tests/**/*.trx'
testRunTitle: Windows Unit Tests
- job: WindowsIntegrationTests
dependsOn: WindowsCanaryTests
pool:
vmImage: 'vs2017-win2016'
strategy:
maxParallel: 5
matrix:
latest:
esVersion: 'latest'
steps:
- task: UseDotNet@2
inputs:
version: '3.0.100'
- script: 'build.bat integrate-one $(esVersion) "readonly,writable,bool,xpack"'
displayName: '$(esVersion) windows integration tests'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: VSTest
testResultsFiles: 'src/Tests/Tests/**/*.trx'
testRunTitle: '$(esVersion) Windows Integration Tests'
- job: LinuxIntegrationTests
dependsOn: LinuxUnitTests
pool:
vmImage: 'ubuntu-16.04'
strategy:
maxParallel: 5
matrix:
latest:
esVersion: 'latest'
steps:
- task: UseDotNet@2
inputs:
version: '3.0.100'
- script: './build.sh integrate-one $(esVersion) "readonly,writable"'
displayName: '$(esVersion) linux integration tests'
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testRunner: VSTest
testResultsFiles: 'src/Tests/Tests/**/*.trx'
testRunTitle: '$(esVersion) Linux Integration Tests'