Skip to content

Commit cbea5b0

Browse files
committed
fixing travis for python 3.0, minor in circle
1 parent ffd1d40 commit cbea5b0

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,19 @@ install:
3838
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install ordereddict; fi
3939
- conda install --yes numpy scipy nose networkx dateutil
4040
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes traits; else pip install traits; fi
41-
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; else pip install vtk; fi
41+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes vtk; fi
4242
- pip install python-coveralls
4343
- pip install nose-cov
4444
# Add tvtk (PIL is required by blockcanvas)
45-
- pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
46-
- pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools
47-
- pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas
48-
- pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy
4945
# Install mayavi (see https://github.com/enthought/mayavi/issues/271)
50-
- pip install https://github.com/dmsurti/mayavi/archive/4d4aaf315a29d6a86707dd95149e27d9ed2225bf.zip
51-
- pip install -e git+https://github.com/enthought/ets.git#egg=ets
46+
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
47+
pip install http://effbot.org/downloads/Imaging-1.1.7.tar.gz
48+
pip install -e git+https://github.com/enthought/etsdevtools.git#egg=etsdevtools
49+
pip install -e git+https://github.com/enthought/blockcanvas.git#egg=blockcanvas
50+
pip install -e git+https://github.com/enthought/etsproxy.git#egg=etsproxy
51+
pip install https://github.com/dmsurti/mayavi/archive/4d4aaf315a29d6a86707dd95149e27d9ed2225bf.zip
52+
pip install -e git+https://github.com/enthought/ets.git#egg=ets
53+
fi
5254
- pip install -r requirements.txt # finish remaining requirements
5355
- python setup.py install
5456
script:

circle.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ dependencies:
33
- "~/.apt-cache"
44
- "~/examples/data"
55
- "~/examples/fsdata"
6-
- "~/examples/feeds"
76
- "~/mcr"
87
- "~/spm12"
98
- "~/examples/fsl_course_data"
@@ -19,7 +18,7 @@ dependencies:
1918
- echo 'source /etc/fsl/fsl.sh' >> $HOME/.profile
2019
- echo 'source /etc/afni/afni.sh' >> $HOME/.profile
2120
# Enable system-wide vtk
22-
- echo 'ln -s /usr/lib/pymodules/python2.7/vtk ~/virtualenvs/venv-system/lib/python2.7/site-packages/' >> $HOME/.profile
21+
- echo 'ln -sf /usr/lib/pymodules/python2.7/vtk ~/virtualenvs/venv-system/lib/python2.7/site-packages/' >> $HOME/.profile
2322
- ln -s /usr/lib/pymodules/python2.7/vtk ~/virtualenvs/venv-system/lib/python2.7/site-packages/
2423
# Set up python environment
2524
- pip install --upgrade pip

0 commit comments

Comments
 (0)