From 0677af071485d8f50d36151e2ea8d2bd9c1b8864 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Campos <seocam@redhat.com> Date: Tue, 7 Apr 2020 16:11:18 -0300 Subject: [PATCH] Added azure-pipelines check --- azure-pipelines.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 azure-pipelines.yml 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 -- GitLab