Commit 7d52078d authored by Manuel Günther's avatar Manuel Günther

First trial to run on travis

parent d0465cd4
language: python
matrix:
include:
- python: 2.6
- python: 2.7
env:
- secure: G4MMgGR5NIUKFdW6ZEMDBMyhLwITKX9WMHtLQ652HpXmF+Dkuab40bDQ1RmA2yv4REDwqQdbXU8sfaTGSUXb/yD69aYl4j6jQMgAimwCSHA8JcQMxJKEr1u6Ty0hQ0FS64SldgEh+4G3jL+3BpeGedl8Wl34dF8gnWDSGv3D7OL2QGeBUWbMXnAK4xKo+2xVrO7DjOHyN1hbIlLmcvaP4yC4kctPf9TTFfK7unwxuSQivnnaHo3tpzsTXWl8h+bvmjZNMgiX5MjtXl/7iLS02UxstFgvti+br17spqVOz1ehVE4xQB7phFlMEAKInTJEBfQq5H5BhcMbsJIDDr3raKnqP5helsMMtR9SjGnqMki2Lc3QkA+X5SxYiiamNF7UDc32yrHsxYn77T4P74w6GQCh90F7fLJOkHUqB53w5ngXgnDw9trDyBQteaqSagpvWQ8WR/q/35dQRAE0yytyn+436vxwkJpMLV60Mr+cRg5Fgtuh0Xg2ZxZ7GDdDlcIeh9ycRhsVs1nhrNupFwF4ITYVGnR8HOgkAX291rVhZG5+bFdyay45mvNRxDc9l7cfXyaalxN+ExB4GyEwXT+VVVmhdQmZ+vGCZSo948i2eHTu7ZaH2EfB9AmcuazGWQNK97DZi7h1uOx41siNE5jBdYoLyANC6Nl9GsHLwX7HIB8=
- secure: Dge/7r8O80MXxqWsUYboDPhVH4imDmYwbc00hFDAR0xAVkagYm/K7FoKONpkKUEJhcghFedvk8ecW5upaLnI6Dd/zsvKnjNiUCVq1BUGd2lXxhsHxr1ztsUJLvhUJXdUSCK5Z0W6sKGZXEp98EnUXYJI4xiS5Lox4Q7RenJITmISV6/gYgNN1il7PtGVqE5rLQVTC3mYarxM2aZWTgeHAN/oXjbpDR5/WQllcYfYLLyySdl0Icmq4rLm1qM07hrgJTHR+WQ5GXZRoULnij70QBzmAUeN348F2sSAtj8s2yxW90PFmZtDbEjhf4KHw9sfDWBlKVIK0z1AzR7axSuZe0Tl9ADQUJHSumHC/WJLqvClc5kkmmQpVvatQpehjyJ5TrbXarD5B/qiQJ1LqtH/g5YCQya4EaErsvlmRmAZh8WGFq7r+QWnJZlbPvkWi9Mw0NIaJKzlJJvWYoqpIy3kRP639Up8ig+dDmYVGxs44BzIh9xvRQZvUy/gm90gHBVFC9Q4T7x3QRec2mhwGxJy8Vo4sz5IACNftTOiQMv30tDi3yhiis+ZcxFIRameQAIYbqCsITOODO0btrJmxfzgA2mbiink+71//ZQSlzY8KVcZgug4MDA6sLa+klwAzQAHWn1tRuPtakmkLwMKamdOI/0H7VT840IcEeHfXP20mts=
- BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
- BOB_UPLOAD_WHEEL="--python-tag py2"
before_install:
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
- sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev libboost-all-dev libblitz1-dev libhdf5-serial-dev libvl-dev
- sudo apt-get install -qq --force-yes dvipng texlive-latex-base texlive-latex-extra texlive-math-extra texlive-latex-recommended texlive-fonts-recommended
- sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev gfortran
- sudo apt-get install -qq --force-yes python-opencv libcv-dev libcvaux-dev libopencv-dev
- sudo apt-get install -qq --force-yes python-numpy python-scipy python-matplotlib
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose numpy scipy matplotlib coverage
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt coveralls
install:
- python bootstrap-buildout.py
- ./bin/buildout buildout:debug=false -c buildout-before-patch.cfg
- mkdir PythonFaceEvaluation
- wget https://www.idiap.ch/software/bob/databases/latest/PythonFaceEvaluation.tar.bz2
- tar -xjf PythonFaceEvaluation.tar.bz2 -C PythonFaceEvaluation
- ./bin/patch_CSU.py .
- ./bin/buildout buildout:develop=. buildout:extensions=bob.buildout buildout:auto-checkout= buildout:debug=false buildout:csu-dir=.
script:
- ./bin/python -c 'import pkg_resources; from bob.bio.csu import get_config; print(get_config())'
- ./bin/coverage run --source=bob.bio.csu ./bin/nosetests -vs
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- coveralls
- coveralls
- wget https://raw.githubusercontent.com/bioidiap/bob.extension/master/scripts/upload-{sphinx,wheel}.sh
- chmod a+x upload-sphinx.sh upload-wheel.sh
- ./upload-sphinx.sh
- ./upload-wheel.sh
include README.rst bootstrap-buildout.py buildout.cfg COPYING version.txt requirements.txt
include README.rst bootstrap-buildout.py buildout.cfg develop.cfg buildout-before-patch.cfg patch/bob.bio.csu.patch LICENSE.txt version.txt requirements.txt
recursive-include doc *.py *.rst
recursive-include bob/bio/csu/test/data *.hdf5
......@@ -6,7 +6,7 @@
parts = scripts
; required packages: just the xfacereclib.extension.CSU since it contains the patch_CSU.py script
eggs = xfacereclib.extension.CSU
eggs = bob.bio.csu
extensions = bob.buildout
develop = .
......@@ -15,4 +15,3 @@ newest = false
[scripts]
recipe = bob.buildout:scripts
......@@ -6,33 +6,37 @@
parts = scripts
; required packages: the facereclib, the original code and our wrapper package
eggs = facereclib
eggs = bob.bio.base
bob.bio.face
PythonFaceEvaluation
xfacereclib.extension.CSU
bob.bio.csu
extensions = bob.buildout
mr.developer
auto-checkout = *
develop = src/bob.buildout
src/bob.extension
develop = src/bob.extension
src/bob.blitz
src/bob.core
src/bob.io.base
src/bob.io.image
src/bob.sp
src/bob.math
src/bob.measure
src/bob.learn.activation
src/bob.math
src/bob.learn.linear
src/bob.learn.misc
src/bob.sp
src/bob.ip.base
src/bob.ip.color
src/bob.ip.draw
src/bob.ip.gabor
src/bob.learn.em
src/bob.measure
src/bob.db.base
src/bob.db.verification.utils
src/bob.db.verification.filelist
src/bob.db.atnt
src/facereclib
src/bob.bio.base
src/bob.learn.boosting
src/bob.ip.facedetect
src/bob.ip.flandmark
${buildout:csu-dir}/PythonFaceEvaluation
.
......@@ -43,33 +47,32 @@ debug = false
verbose = true
newest = false
[environ]
BOB_BUILD_PARALLEL = 4
[sources]
bob.buildout = git https://github.com/bioidiap/bob.buildout
bob.extension = git https://github.com/bioidiap/bob.extension
bob.blitz = git https://github.com/bioidiap/bob.blitz
bob.core = git https://github.com/bioidiap/bob.core
bob.io.base = git https://github.com/bioidiap/bob.io.base
bob.io.image = git https://github.com/bioidiap/bob.io.image
bob.sp = git https://github.com/bioidiap/bob.sp
bob.math = git https://github.com/bioidiap/bob.math
bob.measure = git https://github.com/bioidiap/bob.measure
bob.learn.activation = git https://github.com/bioidiap/bob.learn.activation
bob.learn.linear = git https://github.com/bioidiap/bob.learn.linear
bob.learn.misc = git https://github.com/bioidiap/bob.learn.misc
bob.math = git https://github.com/bioidiap/bob.math
bob.sp = git https://github.com/bioidiap/bob.sp
bob.ip.base = git https://github.com/bioidiap/bob.ip.base
bob.ip.color = git https://github.com/bioidiap/bob.ip.color
bob.ip.draw = git https://github.com/bioidiap/bob.ip.draw
bob.ip.gabor = git https://github.com/bioidiap/bob.ip.gabor
bob.learn.linear = git https://github.com/bioidiap/bob.learn.linear
bob.learn.em = git https://github.com/bioidiap/bob.learn.em
bob.measure = git https://github.com/bioidiap/bob.measure
bob.db.base = git https://github.com/bioidiap/bob.db.base
bob.db.verification.utils = git https://github.com/bioidiap/bob.db.verification.utils
bob.db.verification.filelist = git https://github.com/bioidiap/bob.db.verification.filelist
bob.db.atnt = git https://github.com/bioidiap/bob.db.atnt
facereclib = git https://github.com/idiap/facereclib branch=master
bob.bio.base = git https://github.com/bioidiap/bob.bio.base
bob.learn.boosting = git https://github.com/bioidiap/bob.learn.boosting
bob.ip.facedetect = git https://github.com/bioidiap/bob.ip.facedetect
bob.ip.flandmark = git https://github.com/bioidiap/bob.ip.flandmark
[scripts]
recipe = bob.buildout:scripts
; enable if you want to have the bob scripts installed
dependent-scripts = false
dependent-scripts = true
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