Skip to content

Commit

Permalink
adding azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Mar 2, 2019
1 parent bc98430 commit 8884e69
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,9 @@ jobs:
vmImage: 'Ubuntu-16.04'
strategy:
matrix:
Python27:
python.version: '2.7'
Python35:
python.version: '3.5'
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'

maxParallel: 4

steps:
Expand All @@ -29,13 +24,12 @@ jobs:
versionSpec: '$(python.version)'
architecture: 'x64'

- script: python -m pip install --upgrade pip && pip install -r requirements.txt
displayName: 'Install dependencies'

- script: |
pip install pytest
pytest tests --doctest-modules --junitxml=junit/test-results.xml
displayName: 'pytest'
- script: source ci-helpers/install_tardis_env.sh
displayName: 'Install TARDIS env'

- script: python setup.py $SETUP_CMD
displayName: 'TARDIS test'

- task: PublishTestResults@2
inputs:
Expand Down

0 comments on commit 8884e69

Please sign in to comment.