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

Commit

Permalink
Update Azure pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyabsk committed Jun 25, 2019
1 parent bec9e0a commit adf67e7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
8 changes: 1 addition & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
strategy:
matrix:
linux:
imageName: 'ubuntu-16.04'
mac:
imageName: 'macos-10.13'
trigger:
- master
- development
Expand Down Expand Up @@ -39,7 +33,7 @@ jobs:
- template: ci/install.yml
- script: tox -e py
displayName: 'Run Tox'
- script: poetry run coveralls
- script: $HOME/.poetry/bin/poetry run coveralls
condition: succeeded()

#MacOS
Expand Down
13 changes: 13 additions & 0 deletions ci/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
- script: |
pip install --upgrade pip
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
displayName: Setup Poetry
- script: source $HOME/.poetry/env
displayName: Add Poetry command
- script: $HOME/.poetry/bin/poetry install -vvv -E dev
displayName: Install packages
9 changes: 9 additions & 0 deletions ci/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
- script: |
pip install pre-commit
pre-commit install-hooks
pre-commit run --all-files
displayName: Running pre-commit on all files

0 comments on commit adf67e7

Please sign in to comment.