Commit ebd7e070 authored by Manuel Günther's avatar Manuel Günther
Browse files

Added Travis builder.

parent 394892dc
language: python
matrix:
include:
- python: 2.6
- python: 2.7
env:
- secure: SVdoK4kFAB1pAWLd9JXOy7GtEJfcfBVon93Wdv/PijTUR7Cn1lOAc5eSY7l0jFIsok9BIZ55NUiI/ETBsF3x4gtYVLMKof5LIzu2y0duYdynQNFwE9maxFHeR3odiL6JXk2fQDYMAwnQyVBdO5j3DewfIa4ORuc2oJ2GHfX3nJw=
- secure: K+hZt6FbhJ4Cnso6Aqal1Bua94Nat47EZxjqbaS3uJON/aSEgYfC76ptMlHppjNz/YtpxKSIItETDYivBThXE5xMK3E61qfrcZvbqHlwzfmL1F5B9I3TMQZKW3PzaNqKWmWzrzU8SwEJiCa4RRxm53SEFpQFYfYXK1/BYsweHn8=
- python: 3.2
env:
- NUMPYSPEC===1.8.0
- 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 --force-yes libboost-all-dev libblitz1-dev libhdf5-serial-dev libatlas-dev libatlas-base-dev liblapack-dev
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq 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 matplotlib sphinx nose; fi
- pip install coveralls
install:
- python bootstrap.py
- ./bin/buildout
script:
- ./bin/python -c 'from bob.db.iris import get_config; print(get_config())'
- ./bin/coverage run --source=bob.db.atnt ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- coveralls
- ./src/bob.extension/scripts/upload-sphinx.sh
......@@ -28,7 +28,7 @@ The package is available in two different distribution formats:
1. You can download it from `PyPI <http://pypi.python.org/pypi>`_, or
2. You can download it in its source form from `its git repository
<https://github.com/bioidiap/xbob.db.atnt>`_. When you download the
<https://github.com/bioidiap/bob.db.atnt>`_. When you download the
version at the git repository, you will need to run a command to recreate
the backend SQLite file required for its operation. This means that the
database raw files must be installed somewhere in this case. With option
......@@ -48,11 +48,11 @@ script)::
install_requires=[
...
"xbob.db.atnt",
"bob.db.atnt",
],
Proceed normally with your ``boostrap/buildout`` steps and you should be all
set. That means you can now import the namespace ``xbob.db.atnt`` into your scripts.
set. That means you can now import the namespace ``bob.db.atnt`` into your scripts.
Modify your buildout.cfg and download from git
==============================================
......@@ -68,8 +68,8 @@ lines::
auto-checkout = *
eggs = bob
...
xbob.db.atnt
bob.db.atnt
[sources]
xbob.db.atnt = git https://github.com/bioidiap/xbob.db.atnt.git
bob.db.atnt = git https://github.com/bioidiap/bob.db.atnt.git
...
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