☕️ Classic, reliable, trusted test framework for Node.js and the browser
remove special treatment of unsupported node version in travis before-install script
Christopher Hillerf1efc14a73df
diff --git a/scripts/travis-before-install.sh b/scripts/travis-before-install.shindex 7d2f3030..d33eeaef 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 [email protected] 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