From cc84ce3bf5fd44762b7cd375a3f8e4565614cf82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 9 Jul 2014 12:41:46 +0200 Subject: [PATCH] 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. --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 386235e0..f29b23f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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