Don't clobber the latest version of 0.10 for tests.
parent
752c0e4ef1
commit
b15ea07067
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
. ../../nvm.sh
|
||||
|
||||
VERSION=v0.10.26
|
||||
VERSION=v0.10.7
|
||||
|
||||
# Remove the stuff we're clobbering.
|
||||
[ -e ../../$VERSION ] && rm -R ../../$VERSION
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
. ../../nvm.sh
|
||||
|
||||
VERSION=v0.10.26
|
||||
VERSION=v0.10.7
|
||||
|
||||
# Remove the stuff we're clobbering.
|
||||
[ -e ../../$VERSION ] && rm -R ../../$VERSION
|
||||
|
|
|
@ -4,20 +4,21 @@ set -e
|
|||
. ../../nvm.sh
|
||||
|
||||
# Remove the stuff we're clobbering.
|
||||
[ -e ../../v0.10.25 ] && rm -R ../../v0.10.25
|
||||
[ -e ../../v0.10.26 ] && rm -R ../../v0.10.26
|
||||
[ -e ../../v0.10.7 ] && rm -R ../../v0.10.7
|
||||
[ -e ../../v0.10.8 ] && rm -R ../../v0.10.8
|
||||
|
||||
# Install from binary
|
||||
nvm install 0.10.25
|
||||
nvm install 0.10.26
|
||||
nvm install 0.10.7
|
||||
nvm install 0.10.8
|
||||
|
||||
# Check
|
||||
[ -d ../../v0.10.25 ]
|
||||
[ -d ../../v0.10.26 ]
|
||||
[ -d ../../v0.10.7 ]
|
||||
[ -d ../../v0.10.8 ]
|
||||
|
||||
# Use the first one
|
||||
nvm use 0.10.25
|
||||
nvm use 0.10.7
|
||||
|
||||
# Use the latest one
|
||||
nvm use 0.10
|
||||
node --version | grep v0.10.26
|
||||
node --version | grep v0.10.8
|
||||
|
||||
|
|
Loading…
Reference in New Issue