2015-03-24 20:42:32 +01:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "0.10"
|
|
|
|
before_install:
|
|
|
|
- npm install -g npm@~1.4.18
|
|
|
|
before_script:
|
|
|
|
- npm install -g istanbul
|
|
|
|
- npm install coveralls
|
2015-04-10 12:56:17 +02:00
|
|
|
- npm install node-red
|
|
|
|
#- npm install git+https://github.com/node-red/node-red.git
|
2015-03-24 20:42:32 +01:00
|
|
|
- export NODE_RED_HOME=`pwd`/node_modules/node-red
|
|
|
|
- (cd $NODE_RED_HOME ; npm install nock@~0.48.0 )
|
|
|
|
script:
|
|
|
|
- istanbul cover ./node_modules/.bin/grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage
|