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.
This commit is contained in:
Rui Abreu Ferreira 2016-09-02 13:03:55 +01:00 committed by Justin M. Keyes
parent ac44d0ed54
commit 4178e865d5

View File

@ -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