From f6e9e11c1c7a84b4fa3f80ada15924bfce403ca5 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Fri, 8 Nov 2019 13:44:09 +1300 Subject: [PATCH] Further optimization --- azure-pipelines.yml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5a5a7d1c..2f28f98d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,27 +8,15 @@ trigger: jobs: -- job: 'Test' +- job: 'Configure' pool: vmImage: 'Ubuntu-16.04' - strategy: - matrix: - Python27: - python.version: '2.7' - Python35: - python.version: '3.5' - Python36: - python.version: '3.6' - Python37: - python.version: '3.7' - Python38: - python.version: '3.8' - maxParallel: 5 steps: #Install ffmpeg (and any common tools) outside of Python version tasks - script: sudo apt-get install ffmpeg displayName: 'Install ffmpeg' + #- script: | # Make sure all packages are pulled from latest #sudo apt-get update @@ -65,6 +53,24 @@ jobs: #done; #displayName: 'Workaround: update apt and install Python versions' +- job: 'Test' + dependsOn: 'Configure' + pool: + vmImage: 'Ubuntu-16.04' + strategy: + matrix: + Python27: + python.version: '2.7' + Python35: + python.version: '3.5' + Python36: + python.version: '3.6' + Python37: + python.version: '3.7' + Python38: + python.version: '3.8' + maxParallel: 5 + - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)'