Allow private env:var to force conda build
To trigger conda build, just add/update private env:vars FORCE_CONDA_BUILD on link below. Easier to debug and no need to edit appveyor yml/ps1 https://ci.appveyor.com/project/USER_NAME/pythonnet/settings/environment
This commit is contained in:
Родитель
5e27c67f01
Коммит
cbafe1ed8b
|
@ -11,7 +11,7 @@ if ($env:PLATFORM -eq "x86"){
|
||||||
$env:CONDA_BLD = "$env:CONDA_BLD" + "-x64"
|
$env:CONDA_BLD = "$env:CONDA_BLD" + "-x64"
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
|
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -or $env:FORCE_CONDA_BUILD -eq "True") {
|
||||||
# Update PATH, and keep a copy to restore at end of this PowerShell script
|
# Update PATH, and keep a copy to restore at end of this PowerShell script
|
||||||
$old_path = $env:path
|
$old_path = $env:path
|
||||||
$env:path = "$env:CONDA_BLD;$env:CONDA_BLD\Scripts;" + $env:path
|
$env:path = "$env:CONDA_BLD;$env:CONDA_BLD\Scripts;" + $env:path
|
||||||
|
|
Загрузка…
Ссылка в новой задаче