Install pynvim with --user to avoid permission issues

[skip appveyor]
This commit is contained in:
James McCoy 2020-03-18 22:38:31 -04:00
parent 0ab7cfa78b
commit cca301d939
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
2 changed files with 12 additions and 2 deletions

View File

@ -167,6 +167,16 @@ jobs:
- CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON"
- DEPS_CMAKE_FLAGS="$DEPS_CMAKE_FLAGS -DUSE_BUNDLED_LUAJIT=OFF"
- *common-job-env
addons:
apt:
packages:
- *common-apt-packages
- python-pip
- python3-pip
- python-setuptools
- python3-setuptools
- python-dev
- python3-dev
- name: clang-tsan
os: linux
compiler: clang

View File

@ -14,9 +14,9 @@ fi
# Use default CC to avoid compilation problems when installing Python modules.
echo "Install neovim module for Python 3."
CC=cc python3 -m pip -q install --upgrade pynvim
CC=cc python3 -m pip -q install --user --upgrade pynvim
echo "Install neovim module for Python 2."
CC=cc python2 -m pip -q install --upgrade pynvim
CC=cc python2 -m pip -q install --user --upgrade pynvim
echo "Install neovim RubyGem."
gem install --no-document --version ">= 0.8.0" neovim