diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..fa73f4a4 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,22 @@ +trigger: +- master + +pool: + vmImage: 'ubuntu-18.04' + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: '3.6' + +- script: python -m pip install --upgrade pip setuptools wheel + displayName: Install tools + +- script: pip install pydocstyle flake8 + displayName: Install dependencies + +- script: flake8 . + displayName: Run flake8 checks + +- script: pydocstyle . + displayName: Verify docstings