diff options
author | James McCoy <jamessan@jamessan.com> | 2020-03-18 22:38:31 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2020-03-18 23:52:22 -0400 |
commit | cca301d93974ddfb3eae749799f7675be3a2b6b5 (patch) | |
tree | 7175b0988785a9c4a98679cc00b1c33e320ed021 | |
parent | 0ab7cfa78be0e63d3a512d6d1f62d7a9ece6c104 (diff) | |
download | rneovim-cca301d93974ddfb3eae749799f7675be3a2b6b5.tar.gz rneovim-cca301d93974ddfb3eae749799f7675be3a2b6b5.tar.bz2 rneovim-cca301d93974ddfb3eae749799f7675be3a2b6b5.zip |
Install pynvim with --user to avoid permission issues
[skip appveyor]
-rw-r--r-- | .travis.yml | 10 | ||||
-rwxr-xr-x | ci/install.sh | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 9d7042ffbc..9865d4b186 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/ci/install.sh b/ci/install.sh index 769f00c5ba..a4dfc87a1b 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -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 |