Test NodeJS 4, 6, 8, and 10
This commit is contained in:
parent
9ce8d7e7c9
commit
0ba153c892
2 changed files with 12 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
|
@ -54,7 +54,16 @@ matrix:
|
|||
dist: trusty
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=node
|
||||
env: SWIGLANG=javascript ENGINE=node VER=4
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=node VER=6
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=node VER=8
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=node VER=10
|
||||
- compiler: gcc
|
||||
os: linux
|
||||
env: SWIGLANG=javascript ENGINE=jsc
|
||||
|
|
|
|||
|
|
@ -33,10 +33,8 @@ case "$SWIGLANG" in
|
|||
"javascript")
|
||||
case "$ENGINE" in
|
||||
"node")
|
||||
travis_retry sudo add-apt-repository -y ppa:chris-lea/node.js
|
||||
travis_retry sudo apt-get -qq update
|
||||
travis_retry sudo apt-get install -qq nodejs rlwrap
|
||||
travis_retry sudo npm install -g node-gyp
|
||||
curl -sL https://deb.nodesource.com/setup_${VER}.x | sudo -E bash -
|
||||
travis_retry sudo apt-get install -y nodejs
|
||||
;;
|
||||
"jsc")
|
||||
travis_retry sudo apt-get install -qq libwebkitgtk-dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue