Merge pull request #500 from creationix/run_slow_tests_on_all_shells
Run slow tests on all shellsmaster
commit
5e54886cbc
|
@ -20,3 +20,10 @@ env:
|
|||
- SHELL=ksh TEST_SUITE=fast
|
||||
- SHELL=ksh TEST_SUITE=fast WITHOUT_CURL=1
|
||||
- SHELL=sh TEST_SUITE=slow
|
||||
- SHELL=sh TEST_SUITE=slow WITHOUT_CURL=1
|
||||
- SHELL=dash TEST_SUITE=slow
|
||||
- SHELL=dash TEST_SUITE=slow WITHOUT_CURL=1
|
||||
- SHELL=bash TEST_SUITE=slow
|
||||
- SHELL=bash TEST_SUITE=slow WITHOUT_CURL=1
|
||||
- SHELL=zsh TEST_SUITE=slow
|
||||
- SHELL=zsh TEST_SUITE=slow WITHOUT_CURL=1
|
||||
|
|
|
@ -18,7 +18,7 @@ nvm_download() {
|
|||
# Emulate curl with wget
|
||||
ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
|
||||
-e 's/-L //' \
|
||||
-e 's/-I //' \
|
||||
-e 's/-I /--server-response /' \
|
||||
-e 's/-s /-q /' \
|
||||
-e 's/-o /-O /' \
|
||||
-e 's/-C - /-c /')
|
||||
|
|
4
nvm.sh
4
nvm.sh
|
@ -19,7 +19,7 @@ nvm_download() {
|
|||
# Emulate curl with wget
|
||||
ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
|
||||
-e 's/-L //' \
|
||||
-e 's/-I //' \
|
||||
-e 's/-I /--server-response /' \
|
||||
-e 's/-s /-q /' \
|
||||
-e 's/-o /-O /' \
|
||||
-e 's/-C - /-c /')
|
||||
|
@ -449,7 +449,7 @@ nvm() {
|
|||
tmpdir="$NVM_DIR/src"
|
||||
local tmptarball
|
||||
tmptarball="$tmpdir/node-$VERSION.tar.gz"
|
||||
if [ "`nvm_download -s -I "$NVM_NODEJS_ORG_MIRROR/$VERSION/node-$VERSION.tar.gz" -o - | \grep '200 OK'`" != '' ]; then
|
||||
if [ "`nvm_download -s -I "$NVM_NODEJS_ORG_MIRROR/$VERSION/node-$VERSION.tar.gz" -o - 2>&1 | \grep '200 OK'`" != '' ]; then
|
||||
tarball="$NVM_NODEJS_ORG_MIRROR/$VERSION/node-$VERSION.tar.gz"
|
||||
sum=`nvm_download -s $NVM_NODEJS_ORG_MIRROR/$VERSION/SHASUMS.txt -o - | \grep node-$VERSION.tar.gz | \awk '{print $1}'`
|
||||
elif [ "`nvm_download -s -I "$NVM_NODEJS_ORG_MIRROR/node-$VERSION.tar.gz" -o - | \grep '200 OK'`" != '' ]; then
|
||||
|
|
Loading…
Reference in New Issue