-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from arokem/mtrumpis-mt-fixups
Mtrumpis mt fixups
- Loading branch information
Showing
12 changed files
with
385 additions
and
615 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 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: | ||
# Enable python 2 for now, we will add python3 later | ||
- PYTHON=python PYSUF='' | ||
install: | ||
- sudo apt-get update | ||
- sudo apt-get install $PYTHON-dev | ||
- sudo apt-get install $PYTHON-numpy | ||
- sudo apt-get install $PYTHON-scipy | ||
- sudo apt-get install $PYTHON-setuptools | ||
- sudo apt-get install $PYTHON-nose | ||
- sudo easy_install$PYSUF nibabel # Latest pypi | ||
# Cython easy_install breaks with error about refnanny.c; maybe something | ||
# to do with having a previous cython version; | ||
# http://mail.python.org/pipermail//cython-devel/2012-April/002344.html | ||
- curl -O http://www.cython.org/release/Cython-0.18.zip | ||
- unzip Cython-0.18.zip | ||
- cd Cython-0.18 | ||
- sudo python$PYSUF setup.py install | ||
- cd .. | ||
# NITIME: | ||
- $PYTHON setup.py build | ||
- sudo $PYTHON setup.py install | ||
script: | ||
# Change into an innocuous directory and find tests from installation | ||
- mkdir for_test | ||
- cd for_test | ||
- nosetests$PYSUF --with-doctest `$PYTHON -c "import os; import nitime; print(os.path.dirname(nitime.__file__))"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.