2015-03-24 20:42:32 +01:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2015-06-30 10:57:48 +02:00
|
|
|
- "0.10"
|
2015-06-30 10:46:23 +02:00
|
|
|
#before_install:
|
2015-06-30 10:57:48 +02:00
|
|
|
# - npm install -g npm@~1.4.28
|
2015-03-24 20:42:32 +01:00
|
|
|
before_script:
|
2015-06-30 11:56:06 +02:00
|
|
|
- npm install -g istanbul grunt-cli
|
2015-06-30 10:57:48 +02:00
|
|
|
- npm install coveralls
|
2015-06-30 11:35:02 +02:00
|
|
|
- npm install git+https://github.com/node-red/node-red.git
|
2015-06-30 15:10:10 +02:00
|
|
|
- npm install node-red
|
2015-06-30 10:57:48 +02:00
|
|
|
- export NODE_RED_HOME=`pwd`/node_modules/node-red
|
2015-06-30 14:33:54 +02:00
|
|
|
- (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
|
2015-03-24 20:42:32 +01:00
|
|
|
script:
|
2015-06-30 10:57:48 +02:00
|
|
|
- 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
|