Permalink
Browse files

ENH: adding travis and coveralls setup

It squeezed following commits:

ENH: install nibabel (and remove installation of not needed gamin)
BF(travis): easy_install is unversioned
travis -- no Python matrix, use system-wide modules, install scipy (numpy) and nibabel from pkgs
  • Loading branch information...
1 parent 19560ae commit 1223e45acb09d96fb45db88bd11ae8718bb63227 @yarikoptic yarikoptic committed May 24, 2013
Showing with 21 additions and 0 deletions.
  1. +16 −0 .travis.yml
  2. +5 −0 .travis_coveragerc
View
@@ -0,0 +1,16 @@
+# vim ft=yaml
+# travis-ci.org and coveralls definition for NeuroSynth build
+language: python
+python:
+ - "2.7"
+virtualenv:
+ system_site_packages: true
+before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq python-scipy python-nibabel
+install:
+ - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install -q coveralls; fi
+script:
+ - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coverage run --rcfile=.travis_coveragerc setup.py test; else python setup.py test; fi
+after_success:
+ - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi
View
@@ -0,0 +1,5 @@
+[run]
+branch = True
+omit =
+ /usr/*
+ /home/travis/virtualenv/*

0 comments on commit 1223e45

Please sign in to comment.