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 Oct 9, 2015
1 parent 55f2486 commit 8e5862c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
addons:
firefox: "31.0" # 3.4->31.0
os:
Expand All @@ -24,7 +26,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

# Set up Xfvb for Firefox headless testing
Expand Down

0 comments on commit 8e5862c

Please sign in to comment.