Skip to content

Commit e590e73

Browse files
committed
another attempt at fixing bash conditionals
1 parent 3d71349 commit e590e73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ before_install:
1313
- chmod +x miniconda.sh
1414
- ./miniconda.sh -b
1515
- export PATH=/home/travis/miniconda/bin:$PATH
16-
- if [ "$INSTALL_DEB_DEPENDECIES" = true ]; sudo rm -rf /dev/shm; fi
17-
- if [ "$INSTALL_DEB_DEPENDECIES" = true ]; sudo ln -s /run/shm /dev/shm; fi
18-
- if [ "$INSTALL_DEB_DEPENDECIES" = true ]; bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh); fi
19-
- if [ "$INSTALL_DEB_DEPENDECIES" = true ]; travis_retry sudo apt-get install -qq --no-install-recommends fsl afni elastix; fi
20-
- if [ "$INSTALL_DEB_DEPENDECIES" = true ]; travis_retry sudo apt-get install -qq fsl-atlases; fi
21-
- if [ "$INSTALL_DEB_DEPENDECIES" = true ]; source /etc/fsl/fsl.sh; fi
16+
- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi
17+
- if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi
18+
- if $INSTALL_DEB_DEPENDECIES; then bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh); fi
19+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends fsl afni elastix; fi
20+
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases; fi
21+
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
2222

2323
# Install packages
2424
install:

0 commit comments

Comments
 (0)