From 4823ddccff32f999e4894b3e7c66b743e086493e Mon Sep 17 00:00:00 2001 From: Tunghsiao Liu Date: Wed, 6 Apr 2016 21:19:43 +0800 Subject: [PATCH] fix(traivs): try force npm@3 to avoid hard errors --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6ee250c8e..e90780e24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: - "4" - "0.12" before_install: + - if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi - rvm use 2.2.2 --install --fuzzy - bundle install before_script: