11
11
- INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,fmri,profiler,duecredit"
12
12
before_install :
13
13
- function bef_inst {
14
- wget https://repo.continuum.io/archive/Anaconda${TRAVIS_PYTHON_VERSION:0:1}-4.3.0-Linux-x86_64.sh
15
- -O /home/travis/.cache/anaconda.sh &&
16
- bash /home/travis/.cache/anaconda.sh -b -p /home/travis/anaconda &&
17
- export PATH=/home/travis/anaconda/bin:$PATH &&
18
14
if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; fi &&
19
15
if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi &&
20
16
bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh) &&
@@ -25,16 +21,20 @@ before_install:
25
21
if $INSTALL_DEB_DEPENDECIES; then
26
22
source /etc/fsl/fsl.sh;
27
23
source /etc/afni/afni.sh;
28
- export FSLOUTPUTTYPE=NIFTI_GZ; fi }
24
+ export FSLOUTPUTTYPE=NIFTI_GZ; fi &&
25
+ wget https://repo.continuum.io/archive/Anaconda${TRAVIS_PYTHON_VERSION:0:1}-4.3.0-Linux-x86_64.sh
26
+ -O /home/travis/.cache/anaconda.sh &&
27
+ bash /home/travis/.cache/anaconda.sh -b -p /home/travis/anaconda &&
28
+ export PATH=/home/travis/anaconda/bin:$PATH &&
29
+ conda config --add channels conda-forge &&
30
+ echo 'always_yes : True' >> /home/travis/.condarc &&
31
+ conda update --all -y python=$TRAVIS_PYTHON_VERSION &&
32
+ conda install -y numpy scipy
33
+ }
29
34
- travis_retry bef_inst
30
35
install :
31
36
# Add install of vtk and mayavi to test mesh (disabled): conda install -y vtk mayavi &&
32
- - function inst {
33
- conda config --add channels conda-forge &&
34
- conda update --yes conda &&
35
- conda update --all -y python=$TRAVIS_PYTHON_VERSION &&
36
- conda install -y $(sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g' requirements.txt) &&
37
- pip install -e .[$NIPYPE_EXTRAS]; }
37
+ - function inst {pip install -e .[$NIPYPE_EXTRAS];}
38
38
- travis_retry inst
39
39
script :
40
40
- py.test --doctest-modules nipype
0 commit comments