From 4178e865d51de71430ba08fb5140333caa589097 Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Fri, 2 Sep 2016 13:03:55 +0100 Subject: [PATCH] Windows: ci/AppVeyor: Enable Python provider tests Setup python2/3 and install the Neovim client in Appveyor to enable the python tests. - Use the Python installation provided by Appveyor, because dependencies pyuv, greenlet have issues compiling with MinGW-w64. And this way we avoid building those too. - Copy python.exe => python3.exe so that the python provider can find python3. --- .ci/build.bat | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.ci/build.bat b/.ci/build.bat index c2f560fb7c..d21957718d 100644 --- a/.ci/build.bat +++ b/.ci/build.bat @@ -17,7 +17,14 @@ set PATH=C:\Program Files (x86)\CMake\bin\cpack.exe;%PATH% :: Build third-party dependencies C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm -Su" || goto :error -C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm --needed -S mingw-w64-%ARCH%-cmake mingw-w64-%ARCH%-perl mingw-w64-%ARCH%-python2 mingw-w64-%ARCH%-diffutils gperf" || goto :error +C:\msys64\usr\bin\bash -lc "pacman --verbose --noconfirm --needed -S mingw-w64-%ARCH%-cmake mingw-w64-%ARCH%-perl mingw-w64-%ARCH%-diffutils gperf" || goto :error + +:: Use Appveyor's python +set PATH=C:\Python27;C:\Python27\Scripts;%PATH% +set PATH=C:\Python35;C:\Python35\Scripts;%PATH% +copy c:\Python35\python.exe c:\Python35\python3.exe +pip2 install neovim || goto error +pip3 install neovim || goto error mkdir .deps cd .deps