forked from oremanj/tricycle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# Will want to adjust this if we ever start having non-master branches | ||
# in the main repo: | ||
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers | ||
trigger: | ||
- master | ||
|
||
jobs: | ||
|
||
- job: 'Windows' | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
timeoutInMinutes: 10 | ||
strategy: | ||
# Python version list: | ||
# 64-bit: https://www.nuget.org/packages/python/ | ||
# 32-bit: https://www.nuget.org/packages/pythonx86/ | ||
matrix: | ||
"Python 3.5, 32 bit": | ||
python.version: '3.5.4' | ||
python.pkg: 'pythonx86' | ||
"Python 3.5, 64 bit": | ||
python.version: '3.5.4' | ||
python.pkg: 'python' | ||
"Python 3.6, 32 bit": | ||
python.version: '3.6.8' | ||
python.pkg: 'pythonx86' | ||
"Python 3.6, 64 bit": | ||
python.version: '3.6.8' | ||
python.pkg: 'python' | ||
"Python 3.7, 32 bit": | ||
python.version: '3.7.2' | ||
python.pkg: 'pythonx86' | ||
"Python 3.7, 64 bit": | ||
python.version: '3.7.2' | ||
python.pkg: 'python' | ||
|
||
steps: | ||
- task: NuGetToolInstaller@0 | ||
|
||
- bash: ./ci.sh | ||
displayName: "Run the actual tests" | ||
|
||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: 'test-results.xml' | ||
testRunTitle: 'Windows $(python.pkg) $(python.version)' | ||
condition: succeededOrFailed() | ||
|
||
# Currently broken for unclear reasons probably related to openssl v1.1.1: | ||
# https://github.com/python-trio/trio/pull/827#issuecomment-457139883 | ||
# | ||
# - job: 'Linux' | ||
# pool: | ||
# vmImage: 'ubuntu-16.04' | ||
# timeoutInMinutes: 10 | ||
# strategy: | ||
# matrix: | ||
# "Python 3.5": | ||
# python.version: '3.5' | ||
# "Python 3.6": | ||
# python.version: '3.6' | ||
# "Python 3.7": | ||
# python.version: '3.7' | ||
# | ||
# steps: | ||
# - task: UsePythonVersion@0 | ||
# inputs: | ||
# versionSpec: '$(python.version)' | ||
# | ||
# - bash: ci.sh | ||
# displayName: "Run the actual tests" | ||
# | ||
# - task: PublishTestResults@2 | ||
# inputs: | ||
# testResultsFiles: 'test-results.xml' | ||
# condition: succeededOrFailed() | ||
|
||
- job: 'macOS' | ||
pool: | ||
vmImage: 'macOS-10.13' | ||
timeoutInMinutes: 10 | ||
strategy: | ||
matrix: | ||
"Python 3.5": | ||
python.version: '3.5' | ||
"Python 3.6": | ||
python.version: '3.6' | ||
"Python 3.7": | ||
python.version: '3.7' | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
|
||
- bash: ./ci.sh | ||
displayName: "Run the actual tests" | ||
|
||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: 'test-results.xml' | ||
condition: succeededOrFailed() |