mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-21 23:30:58 +00:00
116d0857a2
Signed-off-by: Dan Ryan <dan@danryan.co> Fix variable references Signed-off-by: Dan Ryan <dan@danryan.co> Fix variable references Signed-off-by: Dan Ryan <dan@danryan.co> Switch to powershell for windows virtualenv creation Signed-off-by: Dan Ryan <dan@danryan.co> use python version as path Signed-off-by: Dan Ryan <dan@danryan.co> use python version as path Signed-off-by: Dan Ryan <dan@danryan.co> swap variable name for python exe Signed-off-by: Dan Ryan <dan@danryan.co> add fallback for python exe Signed-off-by: Dan Ryan <dan@danryan.co> fix python variable setting Signed-off-by: Dan Ryan <dan@danryan.co> fix python variable setting Signed-off-by: Dan Ryan <dan@danryan.co> Use variable susbstitution for python executable location Signed-off-by: Dan Ryan <dan@danryan.co> Use activate script properly Signed-off-by: Dan Ryan <dan@danryan.co> Fix floating quote in python version Signed-off-by: Dan Ryan <dan@danryan.co> Don't block on safety call in python 2 as it overwrites output for some reason Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com> Don't block on pipenv graph either Signed-off-by: Dan Ryan <dan@danryan.co> Check command return code instead of calling `block` Signed-off-by: Dan Ryan <dan@danryan.co> Don't load json after its already loaded Signed-off-by: Dan Ryan <dan@danryan.co> Wait on return code before checking contents Signed-off-by: Dan Ryan <dan@danryan.co>
19 lines
476 B
YAML
19 lines
476 B
YAML
steps:
|
|
- task: UsePythonVersion@0
|
|
displayName: Use Python $(python.version)
|
|
inputs:
|
|
versionSpec: '$(python.version)'
|
|
architecture: '$(python.architecture)'
|
|
addToPath: true
|
|
|
|
- powershell: |
|
|
Write-Host "##vso[task.setvariable variable=PIPENV_DEFAULT_PYTHON_VERSION]$env:PYTHON_VERSION"
|
|
env:
|
|
PYTHON_VERSION: $(python.version)
|
|
|
|
- template: ../steps/install-dependencies.yml
|
|
|
|
- template: ../steps/create-virtualenv.yml
|
|
|
|
- template: ../steps/run-tests.yml
|