diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..c81e7b26cc66fd178ab74437e7577ca0c71a9e8d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,28 @@ +# After changing this file, run it through http://lint.travis-ci.org/ +# Generates 4 builds, the ones for python3 will install external wheels +language: python +python: + - 2.6 + - 2.7 +matrix: + include: + - python: 3.2 + env: + - NUMPYSPEC===1.7.1 + - python: 3.3 + env: + - NUMPYSPEC===1.8.0 +before_install: + - sudo add-apt-repository -y ppa:biometrics/bob + - sudo apt-get update -qq + - sudo apt-get install -qq bob-dev + - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi + - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi + - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi +install: + - "python bootstrap.py" + - "./bin/buildout" +script: + - "./bin/nosetests -sv" + - "./bin/sphinx-build -b doctest doc sphinx" + - "./bin/sphinx-build -b html doc sphinx" diff --git a/README.rst b/README.rst index 5c6cb4a6d48666dbeb9ca65768d1cd25eb81eebc..5e1195d7add143bdc72414d369bd02a852c91b4f 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,9 @@ .. Andre Anjos <andre.anjos@idiap.ch> .. Thu 29 Aug 2013 16:07:57 CEST +.. image:: https://travis-ci.org/bioidiap/xbob.core.svg?branch=master + :target: https://travis-ci.org/bioidiap/xbob.core + ============================== Python bindings for bob.core ============================== diff --git a/buildout.cfg b/buildout.cfg index 1a8f5a918f74e63689699d69d13cf1ebcd873f70..5dc5595a5795e2c7a503ac01f4ab2d6cd2dd2e9c 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -19,8 +19,8 @@ prefixes = /idiap/group/torch5spro/nightlies/last/bob/linux-x86_64-release /Users/andre/work/bob/b/dbg/ [sources] -xbob.extension = git git@github.com:bioidiap/xbob.extension branch=prototype -xbob.blitz = git git@github.com:bioidiap/xbob.blitz +xbob.extension = git https://github.com/bioidiap/xbob.extension branch=prototype +xbob.blitz = git https://github.com/bioidiap/xbob.blitz [scripts] recipe = xbob.buildout:scripts diff --git a/doc/conf.py b/doc/conf.py index 050d2cac39888f91557053f264ba0b23c1c6f89f..ef2f6d6451c3ec4c309e8cd0c4b459b975007087 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -31,7 +31,6 @@ extensions = [ 'sphinx.ext.autosummary', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', - 'matplotlib.sphinxext.plot_directive', ] # The viewcode extension appeared only on Sphinx >= 1.0.0 diff --git a/setup.py b/setup.py index 87a30b5aea1294f865d58dbe9e37dc95d8239e5e..74291818759f29d3de3ab3a82a6d3056968c6ad0 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ package_dir = os.path.dirname(os.path.realpath(__file__)) package_dir = os.path.join(package_dir, 'xbob', 'core', 'include') include_dirs = [package_dir] -packages = ['bob-core >= 1.3'] +packages = ['bob-core >= 1.2.2'] version = '2.0.0a0' setup(