travis tests for different node versions
This commit is contained in:
parent
7f886fd4fc
commit
1cbabb2e06
2 changed files with 8 additions and 2 deletions
|
|
@ -49,6 +49,11 @@ matrix:
|
|||
env: SWIGLANG=java
|
||||
sudo: required
|
||||
dist: trusty
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=node
|
||||
sudo: required
|
||||
dist: trusty
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=node VER=4 CPP11=1
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue