From 88963b438f923b385d25a30ac552e7d1b3e4679e Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 15 Apr 2015 21:57:52 -0700 Subject: [PATCH] chore(travis): pin npm used to v2.7.4 Since we are currently stuck on node 0.10 (see #1396), this will at least help us avoid some of the npm bugs present in older version that comes with 0.10. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 72da07cba5..92bd46baf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,9 @@ before_install: - if [[ -e SKIP_TRAVIS_TESTS ]]; then { cat SKIP_TRAVIS_TESTS ; exit 0; } fi install: + # Update npm + - npm install -g npm@2.7.4 + - npm --version # Check the size of caches - du -sh ./node_modules || true # Install npm dependecies and ensure that npm cache is not stale