From 5a1b27e714e4823957b10f9676ff5a2379352aff Mon Sep 17 00:00:00 2001 From: Bigard Florian Date: Wed, 21 Sep 2016 09:02:25 +0200 Subject: [PATCH] Try to fix Traviis build (caused by npm 2) --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e6a92d883..f32a8f842 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,8 @@ sudo: false services: - mongodb + +before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi before_script: - npm install electron-prebuilt -g -- 2.25.1