language: node_js
node_js:
  - 0.9
  - 0.10

language: node_js
node_js:
  - 0.9
  - 0.10
before_install:
  - sudo npm install npm -g

Update npm on Travis before running tests.
Update npm on Travis before running tests.

Travis uses an old version of npm which doesn't handle (^) semver in package.json properly. See npm/npm#4849.
