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.
This commit is contained in:
Igor Minar 2015-04-15 21:57:52 -07:00
parent 4fd4a1d15c
commit 88963b438f
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ before_install:
- if [[ -e SKIP_TRAVIS_TESTS ]]; then { cat SKIP_TRAVIS_TESTS ; exit 0; } fi - if [[ -e SKIP_TRAVIS_TESTS ]]; then { cat SKIP_TRAVIS_TESTS ; exit 0; } fi
install: install:
# Update npm
- npm install -g npm@2.7.4
- npm --version
# Check the size of caches # Check the size of caches
- du -sh ./node_modules || true - du -sh ./node_modules || true
# Install npm dependecies and ensure that npm cache is not stale # Install npm dependecies and ensure that npm cache is not stale