Skip to content

Commit 8dd1f7a

Browse files
committed
Merge pull request #490 from satra/master
fix: no more spoofing for travis
2 parents c337d7b + 8e15adb commit 8dd1f7a

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

.travis.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1-
# vim ft=yaml
2-
# travis-ci.org definition for nipy build
3-
#
4-
# We pretend to be erlang because we need can't use the python support in
5-
# travis-ci; it uses virtualenvs, they do not have numpy, scipy, matplotlib,
6-
# and it is impractical to build them
7-
language: erlang
8-
env:
9-
- PYTHON=python PYSUF=''
10-
# - PYTHON=python3 PYSUF=3 : python3-numpy not currently available
11-
install:
12-
- sudo apt-get install $PYTHON-dev
13-
- sudo apt-get install $PYTHON-numpy
14-
- sudo apt-get install $PYTHON-scipy
15-
- sudo apt-get install $PYTHON-networkx
16-
- sudo apt-get install $PYTHON-traits
17-
- sudo apt-get install $PYTHON-setuptools
18-
- sudo easy_install$PYSUF nibabel # Latest pypi
19-
- sudo apt-get install $PYTHON-nose
20-
script:
21-
# Change into an innocuous directory and find tests from installation
22-
- make test
1+
language: python
2+
python:
3+
- "2.7"
4+
before_install:
5+
- deactivate
6+
- sudo apt-get update -qq
7+
- sudo apt-get install -qq python-scipy python-nose
8+
- sudo apt-get install -qq python-networkx python-traits python-setuptools
9+
- sudo easy_install nibabel
10+
- virtualenv --system-site-packages ~/virtualenv/this
11+
- source ~/virtualenv/this/bin/activate
12+
install: python setup.py build_ext --inplace
13+
script: make test

0 commit comments

Comments
 (0)