File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,21 @@ language: python
4
4
python :
5
5
- 2.6
6
6
- 2.7
7
+ env :
8
+ - INSTALL_DEB_DEPENDECIES=true
9
+ - INSTALL_DEB_DEPENDECIES=false
7
10
# Setup anaconda
8
11
before_install :
9
12
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.6.0-Linux-x86_64.sh -O miniconda.sh; fi
10
13
- chmod +x miniconda.sh
11
14
- ./miniconda.sh -b
12
15
- export PATH=/home/travis/miniconda/bin:$PATH
16
+ - if [ ${INSTALL_DEB_DEPENDECIES} ]; sudo rm -rf /dev/shm; fi
17
+ - if [ ${INSTALL_DEB_DEPENDECIES} ]; sudo ln -s /run/shm /dev/shm; fi
18
+ - if [ ${INSTALL_DEB_DEPENDECIES} ]; bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh); fi
19
+ - if [ ${INSTALL_DEB_DEPENDECIES} ]; travis_retry sudo apt-get install -qq --no-install-recommends fsl afni elastix; fi
20
+ - if [ ${INSTALL_DEB_DEPENDECIES} ]; travis_retry sudo apt-get install -qq fsl-atlases; fi
21
+ - if [ ${INSTALL_DEB_DEPENDECIES} ]; source /etc/fsl/fsl.sh; fi
13
22
14
23
# Install packages
15
24
install :
You can’t perform that action at this time.
0 commit comments