travis tests for different node versions

This commit is contained in:
furylynx 2018-07-21 16:17:54 +02:00
commit 1cbabb2e06
2 changed files with 8 additions and 2 deletions

View file

@ -37,8 +37,9 @@ case "$SWIGLANG" in
"javascript")
case "$ENGINE" in
"node")
travis_retry curl -sL https://deb.nodesource.com/setup_${VER}.x | sudo -E bash -
travis_retry sudo apt-get install -y nodejs
travis_retry wget -qO- https://raw.githubusercontent.com/xtuple/nvm/master/install.sh | sudo bash
travis_retry sudo nvm install ${VER}
sudo nvm use ${VER}
travis_retry npm install -g node-gyp
;;
"jsc")