diff options
author | ZyX <kp-pav@yandex.ru> | 2017-12-23 15:27:42 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-12-23 15:27:42 +0300 |
commit | c9ab209f9e70b2ebd91ef4cf3857c30822a6af57 (patch) | |
tree | eb39e7370cf72c89b589cac204194ad68b9dfc15 /ci/before_install.sh | |
parent | edccf18df56d982dea350770ea42ffa25759b43f (diff) | |
parent | aa951b14893d8a30ec3bad6fb4b7064ccda16d5c (diff) | |
download | rneovim-c9ab209f9e70b2ebd91ef4cf3857c30822a6af57.tar.gz rneovim-c9ab209f9e70b2ebd91ef4cf3857c30822a6af57.tar.bz2 rneovim-c9ab209f9e70b2ebd91ef4cf3857c30822a6af57.zip |
Merge branch 'master' into hide-container-impl
Diffstat (limited to 'ci/before_install.sh')
-rwxr-xr-x | ci/before_install.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/before_install.sh b/ci/before_install.sh index f84ad935bc..f5a57ad657 100755 --- a/ci/before_install.sh +++ b/ci/before_install.sh @@ -37,3 +37,15 @@ else # https://github.com/travis-ci/travis-ci/issues/8363 pip3 -q install --user --upgrade pip || true fi + +if [[ "${TRAVIS_OS_NAME}" == linux ]]; then + echo "Install node (LTS)" + + if [ ! -f ~/.nvm/nvm.sh ]; then + curl -o ~/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/master/nvm.sh + fi + + source ~/.nvm/nvm.sh + nvm install --lts + nvm use --lts +fi |