Skip to content

Commit

Permalink
Set up CI with azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
jalan committed Apr 20, 2020
1 parent e6f63e4 commit 2ef9e0b
Showing 1 changed file with 55 additions and 20 deletions.
75 changes: 55 additions & 20 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,57 @@
pool:
vmImage: "macOS-10.15"
strategy:
matrix:
Python27:
python.version: "2.7"
Python38:
python.version: "3.8"
jobs:

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "$(python.version)"
displayName: "Use Python $(python.version)"
- job:
displayName: "macOS_10.15"
pool:
vmImage: "macOS-10.15"
strategy:
matrix:
python_2.7:
python.version: "2.7"
python_3.5:
python.version: "3.5"
python_3.6:
python.version: "3.6"
python_3.7:
python.version: "3.7"
python_3.8:
python.version: "3.8"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "$(python.version)"
displayName: "Use Python $(python.version)"
- script: brew install pkg-config poppler
displayName: "Install dependencies"
- script: |
python --version
python setup.py test
displayName: "Test"
- script: brew install pkg-config poppler
displayName: "Install dependencies"

- script: |
python --version
python setup.py test
displayName: "Test"
- job:
displayName: "macOS_10.14"
pool:
vmImage: "macOS-10.14"
strategy:
matrix:
python_2.7:
python.version: "2.7"
python_3.5:
python.version: "3.5"
python_3.6:
python.version: "3.6"
python_3.7:
python.version: "3.7"
python_3.8:
python.version: "3.8"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "$(python.version)"
displayName: "Use Python $(python.version)"
- script: brew install pkg-config poppler
displayName: "Install dependencies"
- script: |
python --version
python setup.py test
displayName: "Test"

0 comments on commit 2ef9e0b

Please sign in to comment.