Skip to content

Commit

Permalink
add more node versions to travis.yml, fix RobotWebTools#192
Browse files Browse the repository at this point in the history
Make sure to only update npm in the 0.8 and 0.10 versions to not run
into this issue: nodejs/node#433
  • Loading branch information
Rayman committed Sep 10, 2015
1 parent cafd9b9 commit 7abecee
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
language: node_js
node_js:
- "0.10"
- "0.12"
- "1"
- "2"
- "3"
- "4"
addons:
firefox: "31.0" # 3.4->31.0
os:
Expand All @@ -24,7 +29,10 @@ before_install:
- cd ../
- rosdep install --from-paths src --ignore-src --rosdistro hydro -y
- cd /tmp/ws/roslibjs
- npm install -g npm

# Only update npm in the 0.8 and 0.10 versions to not run into this issue:
# https://github.com/nodejs/node/issues/433
- case ${TRAVIS_NODE_VERSION} in 0.8*|0.10*) npm update -g npm ;; esac
- npm install -g grunt-cli karma-cli

# install the dev packages we need
Expand Down

0 comments on commit 7abecee

Please sign in to comment.