From 7724813679d1130ef678a81394de211e0eac4ebf Mon Sep 17 00:00:00 2001 From: Pierre-Denis Vanduynslager Date: Wed, 30 Aug 2017 10:51:12 -0400 Subject: [PATCH] ci: retry on `npm install` --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 470ab2f..b90387b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,8 @@ git: depth: 999 before_install: - if [[ `npm -v` < 5* ]]; then npm install -g npm@5; fi +install: + - travis_retry npm install script: - npm run test env: