diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2016-09-02 13:03:55 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-01-11 01:05:55 +0100 |
commit | 4178e865d51de71430ba08fb5140333caa589097 (patch) | |
tree | 96c61778b80cb71d6641a31a9f95e1510842c4c6 | |
parent | ac44d0ed540671f528358149edfd58942d7f6536 (diff) | |
download | rneovim-4178e865d51de71430ba08fb5140333caa589097.tar.gz rneovim-4178e865d51de71430ba08fb5140333caa589097.tar.bz2 rneovim-4178e865d51de71430ba08fb5140333caa589097.zip |
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.
-rw-r--r-- | .ci/build.bat | 9 |
1 files changed, 8 insertions, 1 deletions
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 |