From 264610f0d20daa568370a00712a057a5126a3509 Mon Sep 17 00:00:00 2001 From: paresh2020 <66079635+paresh2020@users.noreply.github.com> Date: Tue, 16 Jun 2020 10:25:42 -0700 Subject: [PATCH 1/4] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..7d405f9ee --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,36 @@ +# Python package +# Create and test a Python package on multiple Python versions. +# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/python + +trigger: +- master + +pool: + vmImage: 'ubuntu-latest' +strategy: + matrix: + Python27: + python.version: '2.7' + Python35: + python.version: '3.5' + Python36: + python.version: '3.6' + Python37: + python.version: '3.7' + +steps: +- task: UsePythonVersion@0 + inputs: + versionSpec: '$(python.version)' + displayName: 'Use Python $(python.version)' + +- script: | + python -m pip install --upgrade pip + pip install -r requirements.txt + displayName: 'Install dependencies' + +- script: | + pip install pytest pytest-azurepipelines + pytest + displayName: 'pytest' From 521b06e7f1c24e7d244357dfecca51414e89f1a1 Mon Sep 17 00:00:00 2001 From: paresh2020 <66079635+paresh2020@users.noreply.github.com> Date: Tue, 16 Jun 2020 10:31:08 -0700 Subject: [PATCH 2/4] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7d405f9ee..21ba171b2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -30,7 +30,4 @@ steps: pip install -r requirements.txt displayName: 'Install dependencies' -- script: | - pip install pytest pytest-azurepipelines - pytest - displayName: 'pytest' + From 61fb3eb773801d89ed09766896d88ff233cb4ea7 Mon Sep 17 00:00:00 2001 From: paresh2020 <66079635+paresh2020@users.noreply.github.com> Date: Tue, 16 Jun 2020 12:43:59 -0700 Subject: [PATCH 3/4] Set up CI with Azure Pipelines [skip ci] --- vm.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vm.yml diff --git a/vm.yml b/vm.yml new file mode 100644 index 000000000..b7cc35565 --- /dev/null +++ b/vm.yml @@ -0,0 +1,8 @@ +jobs: +- deployment: VMDeploy + displayName: dev1 + environment: + name: dev1 + resourceType: VirtualMachine + tags: dev11 + strategy: \ No newline at end of file From c6c88a3a098c7f7d3ddb9cefe667961e5d68f184 Mon Sep 17 00:00:00 2001 From: paresh2020 <66079635+paresh2020@users.noreply.github.com> Date: Wed, 17 Jun 2020 01:17:15 +0530 Subject: [PATCH 4/4] aaa --- vm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vm.yml b/vm.yml index b7cc35565..c6ad43ad9 100644 --- a/vm.yml +++ b/vm.yml @@ -1,8 +1,8 @@ jobs: - deployment: VMDeploy - displayName: dev1 + displayName: Dev1 environment: - name: dev1 + name: Dev1 resourceType: VirtualMachine - tags: dev11 - strategy: \ No newline at end of file + tags: Dev1 + strategy: