Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
adithyabsk committed Jun 25, 2019
1 parent fe257b0 commit bec9e0a
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'
mac:
imageName: 'macos-10.13'
trigger:
- master
- development

pr:
branches:
include:
- '*'

jobs:
# QA
- job: lint
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: ci/lint.yml

# Linux
- job: install_linux
dependsOn: lint
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
Python36:
python.version: '3.6'
steps:
- bash: |
sudo apt update
sudo apt install swig3.0
sudo ln -s /usr/bin/swig3.0 /usr/bin/swig
displayName: Install swig on Linux
- template: ci/install.yml
- script: tox -e py
displayName: 'Run Tox'
- script: poetry run coveralls
condition: succeeded()

#MacOS
- job: install_macos
dependsOn: lint
pool:
vmImage: 'macOS-10.13'
strategy:
matrix:
Python36:
python.version: '3.6'
steps:
- script: brew install swig
- template: ci/install.yml
- script: tox -e py
displayName: 'Run Tox'

0 comments on commit bec9e0a

Please sign in to comment.