Skip to content

Commit

Permalink
Fix install.ps1 and AppVeyor env. matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasily-v-ryabov committed Dec 15, 2015
1 parent 3b82f57 commit ba85d28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ environment:
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "32"
UIA_SUPPORT: "NO"

- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
UIA_SUPPORT: "NO"

os:
- Windows Server 2012
Expand Down
10 changes: 5 additions & 5 deletions ci/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ function main () {
}

# fallback for running the script locally
if ( !(Test-Path variable:global:PYTHON_VERSION) ) {
if ( !(Test-Path $env:PYTHON) ) {
Write-Host "No PYTHON vars, setup default values"
$env:PYTHON="C:\\Python34-x64"
$env:PYTHON_VERSION="3.4"
$env:PYTHON_ARCH="64"
Write-Host "PYTHON=" $env:PYTHON
Write-Host "PYTHON_VERSION=" $env:PYTHON_VERSION
Write-Host "PYTHON_ARCH=" $env:PYTHON_ARCH
}
}
Write-Host "PYTHON=" $env:PYTHON
Write-Host "PYTHON_VERSION=" $env:PYTHON_VERSION
Write-Host "PYTHON_ARCH=" $env:PYTHON_ARCH

if ($env:UIA_SUPPORT -eq "YES") {
InstallComtypes $env:PYTHON
Expand Down

0 comments on commit ba85d28

Please sign in to comment.