pyqtgraph/azure-pipelines.yml
Ogi Moore 9cb351feee
Implement azure ci (#865)
* [skip-ci] Initial Azure-Pipelines configuration.

The following configurations are tested

* macOS 10.13
* ubuntu 16.04
* Windows Server 2016

Under each operating system, the following Qt bindings are tested

* conda based pyqt4
* conda based pyside
* conda based pyside2 (5.6)
* conda based PyQt5 (5.9)
* pip basedd PyQt5 (5.12)
* pip based PySide2 (5.12)

For each configuration, it runs `python -m pytest --cov pyqtgraph -sv`

The only configuration that actually passes all tests is Ubuntu-pip-PyQt5
2019-05-22 15:24:21 -07:00

39 lines
978 B
YAML

############################################################################################
# This config was rectrieved in no small part from https://github.com/slaclab/pydm
############################################################################################
trigger:
branches:
include:
- '*' # Build for all branches if they have a azure-pipelines.yml file.
tags:
include:
- 'v*' # Ensure that we are building for tags starting with 'v' (Official Versions)
# Build only for PRs for master branch
pr:
autoCancel: true
branches:
include:
- master
- develop
variables:
OFFICIAL_REPO: 'pyqtgraph/pyqtgraph'
jobs:
- template: azure-test-template.yml
parameters:
name: Linux
vmImage: 'Ubuntu 16.04'
- template: azure-test-template.yml
parameters:
name: Windows
vmImage: 'vs2017-win2016'
- template: azure-test-template.yml
parameters:
name: MacOS
vmImage: 'macOS-10.13'