Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 13 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
# vim ft=yaml
# travis-ci.org definition for nipy build
#
# We pretend to be erlang because we need can't use the python support in
# travis-ci; it uses virtualenvs, they do not have numpy, scipy, matplotlib,
# and it is impractical to build them
language: erlang
env:
- PYTHON=python PYSUF=''
# - PYTHON=python3 PYSUF=3 : python3-numpy not currently available
install:
- sudo apt-get install $PYTHON-dev
- sudo apt-get install $PYTHON-numpy
- sudo apt-get install $PYTHON-scipy
- sudo apt-get install $PYTHON-networkx
- sudo apt-get install $PYTHON-traits
- sudo apt-get install $PYTHON-setuptools
- sudo easy_install$PYSUF nibabel # Latest pypi
- sudo apt-get install $PYTHON-nose
script:
# Change into an innocuous directory and find tests from installation
- make test
language: python
python:
- "2.7"
before_install:
- deactivate
- sudo apt-get update -qq
- sudo apt-get install -qq python-scipy python-nose
- sudo apt-get install -qq python-networkx python-traits python-setuptools
- sudo easy_install nibabel
- virtualenv --system-site-packages ~/virtualenv/this
- source ~/virtualenv/this/bin/activate
install: python setup.py build_ext --inplace
script: make test