diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-30 18:47:49 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-30 18:48:32 -0500 |
commit | 4bd51d8988b0af76a8c9e8cb38c537fc53346c20 (patch) | |
tree | cdefff491e487c8aa6d6f1c281eca5f921a30aea | |
parent | eeabd3a8c6e904bf3e01017b60336c0063356943 (diff) | |
download | rneovim-4bd51d8988b0af76a8c9e8cb38c537fc53346c20.tar.gz rneovim-4bd51d8988b0af76a8c9e8cb38c537fc53346c20.tar.bz2 rneovim-4bd51d8988b0af76a8c9e8cb38c537fc53346c20.zip |
CI: set nodejs version to 10 on main scripts
nvm can run within a bash shell only.
-rwxr-xr-x | ci/install.sh | 2 | ||||
-rwxr-xr-x | ci/run_tests.sh | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ci/install.sh b/ci/install.sh index a6cd955da5..3364edfe70 100755 --- a/ci/install.sh +++ b/ci/install.sh @@ -22,6 +22,8 @@ echo "Install neovim RubyGem." gem install --no-document --version ">= 0.8.0" neovim echo "Install neovim npm package" +source ~/.nvm/nvm.sh +nvm use 10 npm install -g neovim npm link neovim diff --git a/ci/run_tests.sh b/ci/run_tests.sh index 6b2f69293c..844e9559ef 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -19,6 +19,8 @@ exit_suite --continue enter_suite tests +source ~/.nvm/nvm.sh +nvm use 10 export TREE_SITTER_DIR=$HOME/tree-sitter-build/ if test "$CLANG_SANITIZER" != "TSAN" ; then |