Test NodeJS 4, 6, 8, and 10

This commit is contained in:
Jacob Gillespie 2018-05-01 21:22:20 -05:00
commit 0ba153c892
No known key found for this signature in database
GPG key ID: 52D71192EF3DBDD9
2 changed files with 12 additions and 5 deletions

View file

@ -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