use a more portable release in install tests
The tests for nvm install currently install v0.8.6, which doesn't build on FreeBSD due to Linuxisms. Switch to a more recent version that does work.master
parent
9108a7f7fa
commit
332ae1afcb
|
@ -3,12 +3,14 @@
|
||||||
set -e
|
set -e
|
||||||
. ../../nvm.sh
|
. ../../nvm.sh
|
||||||
|
|
||||||
|
VERSION=v0.10.26
|
||||||
|
|
||||||
# Remove the stuff we're clobbering.
|
# Remove the stuff we're clobbering.
|
||||||
[ -e ../../v0.8.6 ] && rm -R ../../v0.8.6
|
[ -e ../../$VERSION ] && rm -R ../../$VERSION
|
||||||
|
|
||||||
# Install from binary
|
# Install from binary
|
||||||
nvm install 0.8.6
|
nvm install $VERSION
|
||||||
|
|
||||||
# Check
|
# Check
|
||||||
[ -d ../../v0.8.6 ]
|
[ -d ../../$VERSION ]
|
||||||
nvm run v0.8.6 --version | grep v0.8.6
|
nvm run $VERSION --version | grep $VERSION
|
||||||
|
|
|
@ -3,12 +3,14 @@
|
||||||
set -e
|
set -e
|
||||||
. ../../nvm.sh
|
. ../../nvm.sh
|
||||||
|
|
||||||
|
VERSION=v0.10.26
|
||||||
|
|
||||||
# Remove the stuff we're clobbering.
|
# Remove the stuff we're clobbering.
|
||||||
[ -e ../../v0.8.6 ] && rm -R ../../v0.8.6
|
[ -e ../../$VERSION ] && rm -R ../../$VERSION
|
||||||
|
|
||||||
# Install from source
|
# Install from source
|
||||||
nvm install -s 0.8.6
|
nvm install -s $VERSION
|
||||||
|
|
||||||
# Check
|
# Check
|
||||||
[ -d ../../v0.8.6 ]
|
[ -d ../../$VERSION ]
|
||||||
nvm run v0.8.6 --version | grep v0.8.6
|
nvm run $VERSION --version | grep $VERSION
|
||||||
|
|
Loading…
Reference in New Issue