Skip to content

Commit fb8cb25

Browse files
committed
Try multi build
1 parent 4d47b5f commit fb8cb25

File tree

3 files changed

+63
-35
lines changed

3 files changed

+63
-35
lines changed

.vsts-ci.yml

-35
This file was deleted.

.vsts/docs.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
2+
3+
queue:
4+
name: Hosted Linux Preview
5+
6+
trigger:
7+
branches:
8+
include:
9+
- master
10+
11+
steps:
12+
- checkout: self
13+
clean: true
14+
fetchDepth: 2
15+
16+
- task: UsePythonVersion@0
17+
displayName: 'Use Python 3.6 or later'
18+
inputs:
19+
versionSpec: '>=3.7.0a'
20+
21+
- script: 'pip install -U tox'
22+
displayName: install tox
23+
24+
- script: 'tox -e docs'
25+
displayName: run doc build

.vsts/linux-pr.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
2+
3+
trigger:
4+
branches:
5+
include:
6+
- master
7+
8+
phases:
9+
- phase: unix_test_$(python.version)
10+
queue:
11+
name: Hosted Linux Preview
12+
variables:
13+
python.version: '2.7, 3.5, 3.6, >= 3.7.0a'
14+
steps:
15+
- checkout: self
16+
clean: true
17+
fetchDepth: 2
18+
- task: UsePythonVersion@0
19+
displayName: get python $(python.version)
20+
inputs:
21+
versionSpec: '$(python.version)'
22+
23+
- script: 'pip install -U tox'
24+
displayName: install tox
25+
26+
- script: 'tox -e py'
27+
displayName: run tox
28+
29+
- task: PublishTestResults@2
30+
displayName: publish test results
31+
inputs:
32+
testResultsFiles: 'test-results.*.xml'
33+
searchFolder: .tox
34+
mergeTestResults: true
35+
testRunTitle: 'python$(python.version)'
36+
platform: linux
37+
38+

0 commit comments

Comments
 (0)