From 357d7c096a75c61f1f9ac9c57838be3f364c2273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Wed, 17 May 2017 20:54:47 +0200 Subject: [PATCH] chore(travis): only update npm in Node<5 and only to npm@3 Fixes #2677 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1fd3be813..16ec61a5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: before_install: - npm config set loglevel warn - g++-4.8 --version - - npm install -g npm + - if [[ "`node --version`" = v0* ]] || [[ "`node --version`" = v4* ]]; then npm install -g npm@latest-3; fi addons: firefox: