From 4cc5a36c32c9383dfcc074bd6d5fb36342e792e9 Mon Sep 17 00:00:00 2001 From: budtmo Date: Mon, 21 Jun 2021 10:13:15 +0200 Subject: [PATCH] Added Azure DevOps --- pipelines/test-pipeline.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pipelines/test-pipeline.yml diff --git a/pipelines/test-pipeline.yml b/pipelines/test-pipeline.yml new file mode 100644 index 0000000..09479c1 --- /dev/null +++ b/pipelines/test-pipeline.yml @@ -0,0 +1,26 @@ +trigger: + branches: + include: + - master + +pr: + branches: + include: + - '*' + +variables: + - name: app_version + value: test + +jobs: +- job: build_and_test + pool: + vmImage: ubuntu-20.04 + steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.5' + - script: pip install -r requirements.txt + displayName: 'Install pip packages' + - script: ./release.sh test 7.1.1 $(app_version) + displayName: 'Build Docker image with Android 7.1.1 and run unit tests'