1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

travis.yml again...

This commit is contained in:
dceejay 2015-06-30 13:33:54 +01:00
parent 9eb340f83b
commit b03358e515

View File

@ -6,9 +6,9 @@ node_js:
before_script: before_script:
- npm install -g istanbul grunt-cli - npm install -g istanbul grunt-cli
- npm install coveralls - npm install coveralls
# - npm install node-red - npm install node-red
- npm install git+https://github.com/node-red/node-red.git - npm install git+https://github.com/node-red/node-red.git
- export NODE_RED_HOME=`pwd`/node_modules/node-red - export NODE_RED_HOME=`pwd`/node_modules/node-red
- (cd $NODE_RED_HOME ; npm install nock@~0.48.0 ; ../.bin/grunt build) - (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
script: 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 - 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