Skip to content

Commit f8935ce

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

File tree

3 files changed

+57
-35
lines changed

3 files changed

+57
-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

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
2+
3+
resources:
4+
- repo: self
5+
6+
queue:
7+
name: Hosted Linux Preview
8+
condition: succeeded()
9+
variables:
10+
python.version: '2.7, 3.5, 3.6, >= 3.7.0a'
11+
steps:
12+
- task: UsePythonVersion@0
13+
displayName: setup $(python.version)
14+
inputs:
15+
versionSpec: '$(python.version)'
16+
17+
- script: 'python -m pip install -U tox'
18+
displayName: install tox
19+
20+
- script: 'tox -e py'
21+
displayName: run tox
22+
23+
- task: PublishTestResults@2
24+
displayName: publish test results
25+
inputs:
26+
testResultsFiles: 'test-results.*.xml'
27+
searchFolder: '$(System.DefaultWorkingDirectory)\.tox'
28+
mergeTestResults: true
29+
testRunTitle: 'python$(python.version)'
30+
platform: linux
31+
32+

0 commit comments

Comments
 (0)