Skip to content

Commit 1c956b0

Browse files
committed
remove if switch
1 parent 5d60cef commit 1c956b0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
cache:
22
apt: true
3-
directories:
4-
- $HOME/conda
53

64
language: python
75
python:
@@ -27,10 +25,9 @@ before_install:
2725
export FSLOUTPUTTYPE=NIFTI_GZ; fi }
2826
- function conda_inst {
2927
export CONDA_HOME=$HOME/conda &&
30-
if [ ! -d "${CONDA_HOME}" ]; then
31-
wget https://repo.continuum.io/archive/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
28+
wget https://repo.continuum.io/archive/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
3229
-O /home/travis/.cache/conda.sh &&
33-
bash /home/travis/.cache/conda.sh -b -p ${CONDA_HOME}; fi &&
30+
bash /home/travis/.cache/conda.sh -b -p ${CONDA_HOME} &&
3431
export PATH=${CONDA_HOME}/bin:$PATH &&
3532
hash -r &&
3633
conda config --set always_yes yes --set changeps1 no &&

0 commit comments

Comments
 (0)