language: node_js
node_js:
  - "0.10"
  - "0.12"
before_install:
  - npm install -g npm@~1.4.28
before_script:
  - npm install -g istanbul grunt-cli
  - npm install coveralls
  #- npm install git+https://github.com/node-red/node-red.git
  - npm install node-red
  - export NODE_RED_HOME=`pwd`/node_modules/node-red
  - (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
script:
  - istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage

language: node_js
node_js:
  - "0.10"
  - "0.12"
before_install:
  - npm install -g npm@~1.4.28
before_script:
  - npm install -g istanbul grunt-cli
  - npm install coveralls
  - npm install git+https://github.com/node-red/node-red.git
  - export NODE_RED_HOME=`pwd`/node_modules/node-red
  - (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
script:
  - istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage

Install the git repo of NR, not npm package
Install the git repo of NR, not npm package
