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
1 changed files with 3 additions and 8 deletions

View File

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