Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.db.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.db.base
Commits
4e03cf6b
Commit
4e03cf6b
authored
10 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Add Travis-CI build support
parent
a9158afc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.travis.yml
+29
-0
29 additions, 0 deletions
.travis.yml
README.rst
+3
-0
3 additions, 0 deletions
README.rst
buildout.cfg
+3
-3
3 additions, 3 deletions
buildout.cfg
doc/conf.py
+0
-1
0 additions, 1 deletion
doc/conf.py
xbob/db/base/__init__.py
+20
-0
20 additions, 0 deletions
xbob/db/base/__init__.py
with
55 additions
and
4 deletions
.travis.yml
0 → 100644
+
29
−
0
View file @
4e03cf6b
# 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/python
-c
'from
xbob.db.base
import
get_config;
print(get_config())'"
-
"
./bin/nosetests
-sv"
-
"
./bin/sphinx-build
-b
doctest
doc
sphinx"
-
"
./bin/sphinx-build
-b
html
doc
sphinx"
This diff is collapsed.
Click to expand it.
README.rst
+
3
−
0
View file @
4e03cf6b
...
...
@@ -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.db.base.svg?branch=master
:target: https://travis-ci.org/bioidiap/xbob.db.base
==================================
Python bindings for xbob.db.base
==================================
...
...
This diff is collapsed.
Click to expand it.
buildout.cfg
+
3
−
3
View file @
4e03cf6b
...
...
@@ -20,9 +20,9 @@ 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.io
=
git
git@
github.com
:
bioidiap/xbob.io
xbob.extension
=
git
https://
github.com
/
bioidiap/xbob.extension branch=prototype
xbob.blitz
=
git
https://
github.com
/
bioidiap/xbob.blitz
xbob.io
=
git
https://
github.com
/
bioidiap/xbob.io
[scripts]
recipe
=
xbob.buildout:scripts
This diff is collapsed.
Click to expand it.
doc/conf.py
+
0
−
1
View file @
4e03cf6b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
xbob/db/base/__init__.py
+
20
−
0
View file @
4e03cf6b
...
...
@@ -6,4 +6,24 @@
"""
The db package contains simplified APIs to access data for various databases
that can be used in Biometry, Machine Learning or Pattern Classification.
"""
import
pkg_resources
__version__
=
__import__
(
'
pkg_resources
'
).
require
(
__name__
)[
0
].
version
def
get_config
():
"""
Returns a string containing the configuration information.
"""
import
pkg_resources
packages
=
pkg_resources
.
require
(
__name__
)
this
=
packages
[
0
]
deps
=
packages
[
1
:]
retval
=
"
%s: %s (%s)
\n
"
%
(
this
.
key
,
this
.
version
,
this
.
location
)
retval
+=
"
- python dependencies:
\n
"
for
d
in
deps
:
retval
+=
"
- %s: %s (%s)
\n
"
%
(
d
.
key
,
d
.
version
,
d
.
location
)
return
retval
.
strip
()
from
.
import
utils
,
driver
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment