-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 1223e45
Showing
2 changed files
with
21 additions
and
0 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,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 |
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,5 @@ | ||
[run] | ||
branch = True | ||
omit = | ||
/usr/* | ||
/home/travis/virtualenv/* |