☕️ Classic, reliable, trusted test framework for Node.js and the browser
PATH workaround for Travis CI bug
Christopher Hillerd71b80a5d6dc
diff --git a/.travis.yml b/.travis.ymlindex 0bbb7dd2..b721e268 100644--- a/.travis.yml+++ b/.travis.yml@@ -8,7 +8,6 @@ stages:# defaultslanguage: node_jsnode_js: '9'-env: PATH=~/npm/node_modules/.bin:$PATH# `nvm install` happens before the cache is restored, which means# we must install our own npm elsewhere (`~/npm`)before_install: |@@ -17,6 +16,8 @@ before_install: |cd ~/npm && npm install npmcd -} || true+ # avoids bugs around https://github.com/travis-ci/travis-ci/issues/5092+ export PATH=~/npm/node_modules/.bin:$PATH# this avoids compilation in most cases (where we don't need it)install: npm ci --ignore-scriptscache: