瀏覽代碼
Only install npm v2 on Travis CI when testing Node.js 0.8
For a long time, we've been installing npm v2.x before running tests
on Travis CI across all Node.js versions.
While doing some testing today, I observed that we were able to install
dependencies and run all tests just fine on all Node.js versions, except
for v0.8. Therefore ensure we only force an install of npm v2.x when
running tests on Node.js 0.8, and keep the installed npm versio nas is
for all other Node.js versions.
pull/667/head