mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-24 06:55:21 -07:00
Further optimization
This commit is contained in:
parent
de718e7125
commit
f6e9e11c1c
1 changed files with 20 additions and 14 deletions
|
@ -8,27 +8,15 @@ trigger:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
- job: 'Test'
|
- job: 'Configure'
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'Ubuntu-16.04'
|
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:
|
steps:
|
||||||
#Install ffmpeg (and any common tools) outside of Python version tasks
|
#Install ffmpeg (and any common tools) outside of Python version tasks
|
||||||
- script: sudo apt-get install ffmpeg
|
- script: sudo apt-get install ffmpeg
|
||||||
displayName: 'Install ffmpeg'
|
displayName: 'Install ffmpeg'
|
||||||
|
|
||||||
#- script: |
|
#- script: |
|
||||||
# Make sure all packages are pulled from latest
|
# Make sure all packages are pulled from latest
|
||||||
#sudo apt-get update
|
#sudo apt-get update
|
||||||
|
@ -65,6 +53,24 @@ jobs:
|
||||||
#done;
|
#done;
|
||||||
#displayName: 'Workaround: update apt and install Python versions'
|
#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
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '$(python.version)'
|
versionSpec: '$(python.version)'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue