Skip to content

Commit

Permalink
[WIP] Update Azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 committed Apr 7, 2019
1 parent 03b08cf commit 678f172
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 42 deletions.
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

15 changes: 5 additions & 10 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@ jobs:
versionSpec: '$(python.version)'
architecture: 'x64'

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

- script: |
pip install pytest
pytest tests --junitxml=junit/test-results.xml
displayName: 'pytest'
- script: pip install tox
displayName: 'Install Tox'

- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-results.xml'
testRunTitle: 'Python $(python.version)'
condition: succeededOrFailed()
- script: tox -e py
displayName: 'Run Tox'

0 comments on commit 678f172

Please sign in to comment.