Skip to content

Commit

Permalink
Merge pull request #37 from ECRL/azure-pipelines
Browse files Browse the repository at this point in the history
Set up CI with Azure Pipelines
  • Loading branch information
tjkessler committed Jun 11, 2019
2 parents 1e317c2 + 9bf04f0 commit 54c27c3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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

trigger:
- master

pool:
vmImage: 'ubuntu-latest'

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
architecture: 'x64'

- script: |
python -m pip install --upgrade pip setuptools wheel
python setup.py install
displayName: 'Install dependencies'

- script: |
cd tests
python test_all.py
displayName: 'unittest'

0 comments on commit 54c27c3

Please sign in to comment.