language: node_js
node_js:
  - '0.8'
  - '0.10'
before_install:
  - 'npm install -g npm'

language: node_js
node_js:
  - '0.8'
  - '0.10'
before_install:
  - 'npm update -g npm'

Update rather than install npm
Update rather than install npm

Ensure that npm is updated rather than installing the
latest version over the existing version.
