language: node_js
node_js:
  - "0.8"
  - "0.10"
before_install:
  - npm update npm -g
before_script:
  - npm install -g grunt-cli

language: node_js
node_js:
  - "0.8"
  - "0.10"
before_install:
  - npm update npm@1.4 -g
before_script:
  - npm install -g grunt-cli

Set test NPM to 1.4
Set test NPM to 1.4