File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
cache :
2
2
apt : true
3
- directories :
4
- - $HOME/conda
5
3
6
4
language : python
7
5
python :
@@ -27,10 +25,9 @@ before_install:
27
25
export FSLOUTPUTTYPE=NIFTI_GZ; fi }
28
26
- function conda_inst {
29
27
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
32
29
-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} &&
34
31
export PATH=${CONDA_HOME}/bin:$PATH &&
35
32
hash -r &&
36
33
conda config --set always_yes yes --set changeps1 no &&
You can’t perform that action at this time.
0 commit comments