mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Completely nuke node
`brew uninstall node` seems to leave behind npm
This commit is contained in:
parent
0e9aaadb6f
commit
3cf36f4183
@ -9,6 +9,7 @@ addons:
|
||||
before_install:
|
||||
- zsh --version
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall node; fi
|
||||
- sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}
|
||||
- if [[ $(command -v nvm) == "nvm" ]]; then nvm deactivate && nvm unload && echo "Deactivated Travis nvm"; fi
|
||||
install:
|
||||
- (mkdir /tmp/urchin && cd /tmp/urchin && curl -s "$(curl -s https://registry.npmjs.com/urchin | grep -Eo '"tarball":\s*"[^"]+"' | tail -n 1 | awk -F\" '{ print $4 }')" -O && tar -x -f urchin*)
|
||||
|
Loading…
Reference in New Issue
Block a user