diff --git a/.travis.yml b/.travis.yml index a569a2d..1c218a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,9 @@ node_js: - "0.10" before_install: - 'nvm install-latest-npm' + - 'npm install -g npm@~6.13' install: - - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;' + - 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install --before=2020-02-03; fi;' - 'npm ls > /dev/null' script: - 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'