From 6b1cbbfaa0cd385b9e732bf2344816a32d06e2af Mon Sep 17 00:00:00 2001 From: AndrewAnnex Date: Sat, 15 Aug 2015 11:47:24 -0400 Subject: [PATCH] power shell if statements not working for me here, trying to use batch instead --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 343e1ec0..f0556978 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -56,9 +56,9 @@ install: # Now install spiceypy # if 32bit arch - - ps: IF($PYTHON_ARCH -eq "32") { iex "call 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat' x86" } + - IF "%PYTHON_ARCH%"=="32" (call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86) ELSE (ECHO "probably a 64bit build") # if 64bit arch - - ps: IF($PYTHON_ARCH -eq "64") { iex "call 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat' amd64" } + - IF "%PYTHON_ARCH%"=="64" (call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64) ELSE (ECHO "probably a 32bit build") # - call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64 - "%PYTHON%/python setup.py install"