chore(travis): disable npm spinner & enable HTTP logs; run npm install twice

It's good to have HTTP logs on Travis for debugging purposes and the spinner
doesn't integrate with Travis very well & messes the output.
This commit is contained in:
Michał Gołębiowski
2014-07-09 12:41:46 +02:00
parent bee2d1fbb9
commit cc84ce3bf5

View File

@@ -20,7 +20,12 @@ env:
install:
- npm config set registry http://23.251.144.68
- npm install
# Disable the spinner, it looks bad on Travis
- npm config set spin false
# Log HTTP requests
- npm config set loglevel http
# Run npm install twice, because it is flaky.
- npm install || npm install
before_script:
- mkdir -p $LOGS_DIR