From bb2fe618cb3a19d5b652e608c5191d15e2066213 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 27 Apr 2015 16:55:21 -0700 Subject: [PATCH] The install script only runs in bash. --- .travis.yml | 4 ---- test/install_script/nvm_reset | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 918035f..48b4876 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,11 +10,7 @@ install: script: - NVM_DIR=$TRAVIS_BUILD_DIR make TEST_SUITE=$TEST_SUITE URCHIN=/tmp/urchin/package/urchin test-$SHELL env: - - SHELL=sh TEST_SUITE=install_script - - SHELL=dash TEST_SUITE=install_script - SHELL=bash TEST_SUITE=install_script - - SHELL=zsh TEST_SUITE=install_script -# - SHELL=ksh TEST_SUITE=install_script - SHELL=sh TEST_SUITE=fast - SHELL=dash TEST_SUITE=fast - SHELL=bash TEST_SUITE=fast diff --git a/test/install_script/nvm_reset b/test/install_script/nvm_reset index 0f58ee4..9f8735a 100755 --- a/test/install_script/nvm_reset +++ b/test/install_script/nvm_reset @@ -15,7 +15,7 @@ safe_type() { safe_type nvm_reset || die 'nvm_reset is not available' # Apply nvm_reset -nvm_reset +nvm_reset || die 'nvm_reset failed' # The names should be unset ! safe_type nvm_do_install || die 'nvm_do_install is still available'