Skip to content

Commit a5384df

Browse files
committed
added no dep install version. we'll be testing on both.
1 parent df34d2f commit a5384df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ language: python
44
python:
55
- 2.6
66
- 2.7
7+
env:
8+
- INSTALL_DEB_DEPENDECIES=true
9+
- INSTALL_DEB_DEPENDECIES=false
710
# Setup anaconda
811
before_install:
912
- 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
1013
- chmod +x miniconda.sh
1114
- ./miniconda.sh -b
1215
- 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
1322

1423
# Install packages
1524
install:

0 commit comments

Comments
 (0)