Commit 75f076a9 authored by André Anjos's avatar André Anjos 💬

Add Travis-CI support

parent 81e60839
# 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"
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
.. Andre Anjos <andre.anjos@idiap.ch> .. Andre Anjos <andre.anjos@idiap.ch>
.. Thu 30 Jan 08:46:53 2014 CET .. Thu 30 Jan 08:46:53 2014 CET
.. image:: https://travis-ci.org/bioidiap/xbob.ap.svg?branch=master
:target: https://travis-ci.org/bioidiap/xbob.ap
============================= =============================
Python bindings for bob.ap Python bindings for bob.ap
============================= =============================
......
...@@ -20,9 +20,9 @@ prefixes = /idiap/group/torch5spro/nightlies/last/bob/linux-x86_64-release ...@@ -20,9 +20,9 @@ prefixes = /idiap/group/torch5spro/nightlies/last/bob/linux-x86_64-release
/Users/andre/work/bob/b/dbg/ /Users/andre/work/bob/b/dbg/
[sources] [sources]
xbob.extension = git git@github.com:bioidiap/xbob.extension branch=prototype xbob.extension = git https://github.com/bioidiap/xbob.extension branch=prototype
xbob.blitz = git git@github.com:bioidiap/xbob.blitz xbob.blitz = git https://github.com/bioidiap/xbob.blitz
xbob.sp = git git@github.com:bioidiap/xbob.sp xbob.sp = git https://github.com/bioidiap/xbob.sp
[scripts] [scripts]
recipe = xbob.buildout:scripts recipe = xbob.buildout:scripts
...@@ -31,7 +31,6 @@ extensions = [ ...@@ -31,7 +31,6 @@ extensions = [
'sphinx.ext.autosummary', 'sphinx.ext.autosummary',
'sphinx.ext.doctest', 'sphinx.ext.doctest',
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
'matplotlib.sphinxext.plot_directive',
] ]
# The viewcode extension appeared only on Sphinx >= 1.0.0 # The viewcode extension appeared only on Sphinx >= 1.0.0
......
...@@ -7,7 +7,7 @@ from setuptools import setup, find_packages, dist ...@@ -7,7 +7,7 @@ from setuptools import setup, find_packages, dist
dist.Distribution(dict(setup_requires=['xbob.blitz'])) dist.Distribution(dict(setup_requires=['xbob.blitz']))
from xbob.blitz.extension import Extension from xbob.blitz.extension import Extension
packages = ['bob-ap >= 1.3'] packages = ['bob-ap >= 1.2.2']
version = '2.0.0a0' version = '2.0.0a0'
setup( setup(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment