diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2014-06-14 13:34:18 +0200 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2014-06-14 13:34:18 +0200 |
commit | 9f010b1561421d8b3e128e07b50de9919955f258 (patch) | |
tree | 8b692a5cc9abe7024da3a6809f5c5dc5b7c6b7b6 /.travis.yml |
nitime (0.5-1) unstable; urgency=medium
* New release
- does not ship sphinxext/inheritance_diagram.py any longer
(Closes: #706533)
* debian/copyright
- extended to cover added 3rd party snippets and updated years
* debian/watch
- updated to use githubredir.debian.net service
* debian/patches
- debian/patches/up_version_info_python2.6 for compatibility with
python2.6 (on wheezy etc)
# imported from the archive
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f83e536 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +# 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' +install: + - sudo add-apt-repository -y ppa:takluyver/python3 + - sudo add-apt-repository -y ppa:chris-lea/cython + - sudo apt-get update + - sudo apt-get install $PYTHON-dev $PYTHON-numpy $PYTHON-scipy $PYTHON-matplotlib $PYTHON-setuptools $PYTHON-nose + - sudo easy_install$PYSUF nibabel networkx # 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 + ## (for now, we are using chris-lea's PPA instead of installing manually) + #- 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__))"` |