From abeeca0d5f8b4a4d63ffbecc6fb65f6024c431b0 Mon Sep 17 00:00:00 2001 From: Joseph Page Date: Wed, 19 Aug 2015 17:47:01 +0200 Subject: [PATCH] [travis] fix npm bugs for node 0.8 (recommended way) --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 281b46ac..f111d778 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: node_js sudo: false before_install: - - "npm i -g npm@1.4.28" + - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28' + - npm install -g npm@latest node_js: - 0.8 - 0.10