Skip to content

Commit 8cb52db

Browse files
authored
chore: make nvm work (algolia#651)
1 parent 0217ba0 commit 8cb52db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/test-node

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ set -e # exit when error
1313
[ -z $TRAVIS_PULL_REQUEST ] && TRAVIS_PULL_REQUEST='false'
1414
[ -z $TRAVIS_BUILD_NUMBER ] && TRAVIS_BUILD_NUMBER='false'
1515

16+
# nvm has a special setup on Travis where it might break installing other versions
17+
unset npm_config_prefix
1618
nvm install 7
1719
node test/run-node.js | tap-bail | tap-dot
1820

0 commit comments

Comments
 (0)