The install script only runs in bash.
parent
eb5cecc970
commit
bb2fe618cb
|
@ -10,11 +10,7 @@ install:
|
||||||
script:
|
script:
|
||||||
- NVM_DIR=$TRAVIS_BUILD_DIR make TEST_SUITE=$TEST_SUITE URCHIN=/tmp/urchin/package/urchin test-$SHELL
|
- NVM_DIR=$TRAVIS_BUILD_DIR make TEST_SUITE=$TEST_SUITE URCHIN=/tmp/urchin/package/urchin test-$SHELL
|
||||||
env:
|
env:
|
||||||
- SHELL=sh TEST_SUITE=install_script
|
|
||||||
- SHELL=dash TEST_SUITE=install_script
|
|
||||||
- SHELL=bash 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=sh TEST_SUITE=fast
|
||||||
- SHELL=dash TEST_SUITE=fast
|
- SHELL=dash TEST_SUITE=fast
|
||||||
- SHELL=bash TEST_SUITE=fast
|
- SHELL=bash TEST_SUITE=fast
|
||||||
|
|
|
@ -15,7 +15,7 @@ safe_type() {
|
||||||
safe_type nvm_reset || die 'nvm_reset is not available'
|
safe_type nvm_reset || die 'nvm_reset is not available'
|
||||||
|
|
||||||
# Apply nvm_reset
|
# Apply nvm_reset
|
||||||
nvm_reset
|
nvm_reset || die 'nvm_reset failed'
|
||||||
|
|
||||||
# The names should be unset
|
# The names should be unset
|
||||||
! safe_type nvm_do_install || die 'nvm_do_install is still available'
|
! safe_type nvm_do_install || die 'nvm_do_install is still available'
|
||||||
|
|
Loading…
Reference in New Issue