@@ -18,41 +18,39 @@ before_install:
18
18
- if $INSTALL_DEB_DEPENDECIES; then sudo ln -s /run/shm /dev/shm; fi
19
19
- bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
20
20
- sudo apt-get update
21
- - sudo apt-get install xvfb
21
+ - sudo apt-get install -qq xvfb libvtk6-dev python-vtk libx11-dev swig
22
22
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq --no-install-recommends
23
23
fsl afni elastix; fi
24
24
- if $INSTALL_DEB_DEPENDECIES; then travis_retry sudo apt-get install -qq fsl-atlases;
25
25
fi
26
26
- if $INSTALL_DEB_DEPENDECIES; then source /etc/fsl/fsl.sh; fi
27
27
- if $INSTALL_DEB_DEPENDECIES; then source /etc/afni/afni.sh; fi
28
28
- export FSLOUTPUTTYPE=NIFTI_GZ
29
- # Install vtk and fix numpy installation problem
30
29
# Fix numpy problem: https://github.com/enthought/enable/issues/34#issuecomment-2029381
31
- - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then travis_retry sudo apt-get install -qq libx11-dev swig;
30
+ - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
32
31
echo '[x11]' >> $HOME/.numpy-site.cfg;
33
32
echo 'library_dirs = /usr/lib64:/usr/lib:/usr/lib/x86_64-linux-gnu' >> $HOME/.numpy-site.cfg;
34
33
echo 'include_dirs = /usr/include:/usr/include/X11' >> $HOME/.numpy-site.cfg;
35
34
fi
36
35
install :
37
36
- conda update --yes conda
38
- - conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
37
+ - conda create -n testenv --yes pip numpy scipy nose networkx dateutil python=$TRAVIS_PYTHON_VERSION
39
38
- source activate testenv
40
- - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
41
- - conda install --yes numpy scipy nose networkx dateutil
42
- - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
43
- - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; fi
39
+ - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
40
+ pip install ordereddict; fi
41
+ conda install --yes traits; else
42
+ pip install traits;
43
+ fi
44
44
- pip install python-coveralls
45
45
- pip install nose-cov
46
46
# Add tvtk (PIL is required by blockcanvas)
47
47
# Install mayavi (see https://github.com/enthought/mayavi/issues/271)
48
- - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
49
- pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz;
50
- pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools;
51
- pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas;
52
- pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy;
53
- pip install https://github.com/dmsurti/mayavi/archive/4d4aaf315a29d6a86707dd95149e27d9ed2225bf.zip;
54
- pip install -e git+https://github.com/enthought/ets.git#egg=ets;
55
- fi
48
+ - pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
49
+ - pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools
50
+ - pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas
51
+ - pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy
52
+ - pip install https://github.com/enthought/mayavi/archive/a811639986fc1babecea68656f301c9a68d1ec07.zip
53
+ - pip install -e git+https://github.com/enthought/ets.git#egg=ets
56
54
- pip install -r requirements.txt # finish remaining requirements
57
55
- python setup.py install
58
56
script :
0 commit comments