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

travis grunt again....

This commit is contained in:
dceejay 2015-06-30 10:56:06 +01:00
parent fedb221011
commit 0a52cfa606

View File

@ -4,11 +4,11 @@ node_js:
#before_install: #before_install:
# - npm install -g npm@~1.4.28 # - npm install -g npm@~1.4.28
before_script: before_script:
- npm install -g istanbul grunt 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 ; grunt build) - (cd $NODE_RED_HOME ; npm install nock@~0.48.0 ; ./node_modules/.bin/grunt build)
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