-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6737022
commit ab5dc45
Showing
3 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
set -ev | ||
|
||
case "${TRAVIS_OS_NAME}" in | ||
linux) | ||
tmp=$(mktemp -d) | ||
url=https://github.com/neovim/neovim | ||
git clone -q --depth 1 --single-branch $url $tmp | ||
cd $tmp | ||
make -j2 CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=$HOME/neovim" CMAKE_BUILD_TYPE=Release | ||
make install | ||
;; | ||
osx) | ||
brew update | ||
brew upgrade | ||
brew install neovim/neovim/neovim | ||
;; | ||
*) | ||
echo "Unknown value of \${TRAVIS_OS_NAME}: ${TRAVIS_OS_NAME}" | ||
exit 65 | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
export PATH="$HOME/vim/bin:/tmp/vim-themis/bin:$PATH" | ||
|
||
if [[ "$VIM_VERSION" == "nvim" ]]; then | ||
export PATH="$HOME/neovim/bin:/tmp/vim-themis/bin:$PATH" | ||
export THEMIS_VIM="nvim" | ||
export THEMIS_ARGS="-e -s --headless" | ||
uname -a | ||
which -a nvim | ||
which -a themis | ||
themis --target System.Job --reporter dot | ||
else | ||
export THEMIS_HOME="/tmp/vim-themis" | ||
export THEMIS_VIM="vim" | ||
|
||
uname -a | ||
which -a vim | ||
which -a themis | ||
vim --cmd version --cmd quit | ||
vim --cmd "try | helptags doc/ | catch | cquit | endtry" --cmd quit | ||
themis --runtimepath /tmp/vimproc --exclude ConcurrentProcess --reporter dot | ||
fi |