diff --git a/scripts/travis-before-install.sh b/scripts/travis-before-install.sh index 7d2f303007..d33eeaefa9 100755 --- a/scripts/travis-before-install.sh +++ b/scripts/travis-before-install.sh @@ -5,15 +5,5 @@ runSanityTest () { ./bin/mocha --opts /dev/null --reporter spec test/sanity/sanity.spec.js } -# install npm@1.4 locally, and try to install production dependencies w/ it. -if [[ ${TRAVIS_NODE_VERSION} =~ 'v0.10' ]] -then - echo "Downgrading to npm v1.4.x..." - npm install npm@~1.4 - ./node_modules/.bin/npm install --production - runSanityTest - rm -rf node_modules/ -else - npm install --production - runSanityTest -fi +npm install --production +runSanityTest