Further optimization

This commit is contained in:
Clinton Hall 2019-11-08 13:44:09 +13:00 committed by GitHub
commit f6e9e11c1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)'