File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,17 @@ before_install:
24
24
export FSLOUTPUTTYPE=NIFTI_GZ; fi }
25
25
- function conda_inst {
26
26
export CONDA_HOME=/home/travis/anaconda &&
27
- wget https://repo.continuum.io/archive/Anaconda${TRAVIS_PYTHON_VERSION:0:1}-4.3.0-Linux-x86_64.sh
28
- -O /home/travis/.cache/anaconda.sh &&
29
27
bash /home/travis/.cache/anaconda.sh -b -p ${CONDA_HOME} &&
30
28
export PATH=${CONDA_HOME}/bin:$PATH &&
31
- conda config --append channels conda-forge &&
29
+ conda config --add channels conda-forge &&
32
30
conda update --all -y python=$TRAVIS_PYTHON_VERSION &&
33
31
conda install -y nipype icu==56.1 &&
34
32
rm -r ${CONDA_HOME}/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/nipype*; }
35
33
# Add install of vtk and mayavi to test mesh (disabled): conda install -y vtk mayavi
36
34
- travis_retry apt_inst
35
+ - travis_retry if [ ! -f /home/travis/.cache/anaconda.sh]; then
36
+ wget https://repo.continuum.io/archive/Anaconda${TRAVIS_PYTHON_VERSION:0:1}-4.3.0-Linux-x86_64.sh -O /home/travis/.cache/anaconda.sh;
37
+ fi
37
38
- travis_retry conda_inst
38
39
install :
39
40
- travis_retry pip install -e .[$NIPYPE_EXTRAS]
You can’t perform that action at this time.
0 commit comments