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

update travis.yml to try to resolve grunt

This commit is contained in:
Dave Conway-Jones 2017-11-15 10:53:31 +00:00
parent 5018a3625f
commit 0f83c8af54
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4

View File

@ -18,15 +18,10 @@ node_js:
- "6" - "6"
- "4" - "4"
before_script: before_script:
- npm install istanbul - npm install -g istanbul grunt-cli
- npm install coveralls
- 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 coveralls) - (cd $NODE_RED_HOME ; npm install nock@~0.48.0)
- export
- which grunt
- grunt --version
- pwd
- ls -lart node_modules/
- ls -lart node_modules/.bin
script: script:
- istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage - istanbul cover grunt --report lcovonly && istanbul report text && ( cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true ) && rm -rf coverage