Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit cc84ce3

Browse files
committed
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.
1 parent bee2d1f commit cc84ce3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ env:
2020

2121
install:
2222
- npm config set registry http://23.251.144.68
23-
- npm install
23+
# Disable the spinner, it looks bad on Travis
24+
- npm config set spin false
25+
# Log HTTP requests
26+
- npm config set loglevel http
27+
# Run npm install twice, because it is flaky.
28+
- npm install || npm install
2429

2530
before_script:
2631
- mkdir -p $LOGS_DIR

0 commit comments

Comments
 (0)