131 lines
2.7 KiB
YAML
131 lines
2.7 KiB
YAML
# Python package
|
|
# Create and test a Python package on multiple Python versions.
|
|
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
|
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
|
|
|
|
jobs:
|
|
|
|
- job: Mac
|
|
# vanilla Ansible is really slow
|
|
timeoutInMinutes: 120
|
|
steps:
|
|
- template: azure-pipelines-steps.yml
|
|
pool:
|
|
vmImage: macOS-10.15
|
|
strategy:
|
|
matrix:
|
|
Mito27_27:
|
|
python.version: '2.7'
|
|
MODE: mitogen
|
|
VER: 2.10.0
|
|
# TODO: test python3, python3 tests are broken
|
|
Ans210_27:
|
|
python.version: '2.7'
|
|
MODE: localhost_ansible
|
|
VER: 2.10.0
|
|
|
|
# NOTE: this hangs when ran in Ubuntu 18.04
|
|
Vanilla_210_27:
|
|
python.version: '2.7'
|
|
MODE: localhost_ansible
|
|
VER: 2.10.0
|
|
STRATEGY: linear
|
|
ANSIBLE_SKIP_TAGS: resource_intensive
|
|
|
|
|
|
- job: Linux
|
|
pool:
|
|
vmImage: "Ubuntu 18.04"
|
|
steps:
|
|
- template: azure-pipelines-steps.yml
|
|
strategy:
|
|
matrix:
|
|
#
|
|
# Confirmed working
|
|
#
|
|
Mito27Debian_27:
|
|
python.version: '2.7'
|
|
MODE: mitogen
|
|
DISTRO: debian
|
|
VER: 2.10.0
|
|
|
|
#MitoPy27CentOS6_26:
|
|
#python.version: '2.7'
|
|
#MODE: mitogen
|
|
#DISTRO: centos6
|
|
|
|
Mito36CentOS6_26:
|
|
python.version: '3.6'
|
|
MODE: mitogen
|
|
DISTRO: centos6
|
|
VER: 2.10.0
|
|
|
|
Mito37Debian_27:
|
|
python.version: '3.7'
|
|
MODE: mitogen
|
|
DISTRO: debian
|
|
VER: 2.10.0
|
|
|
|
Mito39Debian_27:
|
|
python.version: '3.9'
|
|
MODE: mitogen
|
|
DISTRO: debian
|
|
VER: 2.10.0
|
|
|
|
#Py26CentOS7:
|
|
#python.version: '2.7'
|
|
#MODE: mitogen
|
|
#DISTRO: centos6
|
|
|
|
#DebOps_2460_27_27:
|
|
#python.version: '2.7'
|
|
#MODE: debops_common
|
|
#VER: 2.4.6.0
|
|
|
|
#DebOps_262_36_27:
|
|
#python.version: '3.6'
|
|
#MODE: debops_common
|
|
#VER: 2.6.2
|
|
|
|
#Ansible_2460_26:
|
|
#python.version: '2.7'
|
|
#MODE: ansible
|
|
#VER: 2.4.6.0
|
|
|
|
#Ansible_262_26:
|
|
#python.version: '2.7'
|
|
#MODE: ansible
|
|
#VER: 2.6.2
|
|
|
|
#Ansible_2460_36:
|
|
#python.version: '3.6'
|
|
#MODE: ansible
|
|
#VER: 2.4.6.0
|
|
|
|
#Ansible_262_36:
|
|
#python.version: '3.6'
|
|
#MODE: ansible
|
|
#VER: 2.6.2
|
|
|
|
#Vanilla_262_27:
|
|
#python.version: '2.7'
|
|
#MODE: ansible
|
|
#VER: 2.6.2
|
|
#DISTROS: debian
|
|
#STRATEGY: linear
|
|
|
|
Ansible_210_27:
|
|
python.version: '2.7'
|
|
MODE: ansible
|
|
VER: 2.10.0
|
|
|
|
Ansible_210_35:
|
|
python.version: '3.5'
|
|
MODE: ansible
|
|
VER: 2.10.0
|
|
|
|
Ansible_210_39:
|
|
python.version: '3.9'
|
|
MODE: ansible
|
|
VER: 2.10.0
|