aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ci-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci-install.sh')
-rwxr-xr-xscripts/ci-install.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/ci-install.sh b/scripts/ci-install.sh
index 7e99a8de4..cd33354d1 100755
--- a/scripts/ci-install.sh
+++ b/scripts/ci-install.sh
@@ -3,20 +3,13 @@
set -e
os=$(uname -s)
-if [[ $os == Linux ]] && [[ ${NVIM_TAG} == nightly ]]; then
+if [[ $os == Linux ]] then
wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux-x86_64.tar.gz
tar -zxf nvim-linux-x86_64.tar.gz
sudo ln -s "$PWD"/nvim-linux-x86_64/bin/nvim /usr/local/bin
rm -rf "$PWD"/nvim-linux-x86_64/lib/nvim/parser
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start
-elif [[ $os == Linux ]]; then
- wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz
- tar -zxf nvim-linux64.tar.gz
- sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin
- rm -rf "$PWD"/nvim-linux64/lib/nvim/parser
- mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
- ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start
elif [[ $os == Darwin ]]; then
RELEASE_NAME="nvim-macos-$(uname -m)"
curl -L "https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/$RELEASE_NAME.tar.gz" | tar -xz