aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-01-26 13:43:38 -0500
committerGitHub <noreply@github.com>2022-01-26 13:43:38 -0500
commit20482a2b83b9ea56ce226239ebb6c0fe7819c6f1 (patch)
tree3c7702f7c659a4c09882dbe555ac9eb386f87f59
parentecec957125ca95ef5fbc4534d62ed16cfedb0c44 (diff)
parent16d64796f4f97967b88f9abda31deb1082fe566e (diff)
downloadrneovim-20482a2b83b9ea56ce226239ebb6c0fe7819c6f1.tar.gz
rneovim-20482a2b83b9ea56ce226239ebb6c0fe7819c6f1.tar.bz2
rneovim-20482a2b83b9ea56ce226239ebb6c0fe7819c6f1.zip
Merge pull request #17204 from dundargoc/ci/windows/python-version
-rw-r--r--ci/build.ps111
1 files changed, 1 insertions, 10 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1
index a81d351bc6..ef5ba3bf2d 100644
--- a/ci/build.ps1
+++ b/ci/build.ps1
@@ -86,19 +86,10 @@ elseif ($compiler -eq 'MSVC') {
}
if (-not $NoTests) {
- # Setup python (use AppVeyor system python)
-
- # Disambiguate python3, if needed
- if (-not (Test-Path -Path C:\hostedtoolcache\windows\Python\3.5.4\x64\python3.exe) ) {
- move C:\hostedtoolcache\windows\Python\3.5.4\x64\python.exe C:\hostedtoolcache\windows\Python\3.5.4\x64\python3.exe
- }
- $env:PATH = "C:\hostedtoolcache\windows\Python\2.7.18\x64;C:\hostedtoolcache\windows\Python\3.5.4\x64;$env:PATH"
-
+ python -m ensurepip
python -m pip install pynvim ; exitIfFailed
- python3 -m pip install pynvim ; exitIfFailed
# Sanity check
python -c "import pynvim; print(str(pynvim))" ; exitIfFailed
- python3 -c "import pynvim; print(str(pynvim))" ; exitIfFailed
gem.cmd install --pre neovim
Get-Command -CommandType Application neovim-ruby-host.bat