From 98d5087c61637b7bed0937ce4fba60cfc50aa756 Mon Sep 17 00:00:00 2001 From: Pedro TOME <pedro.tome@idiap.ch> Date: Mon, 9 Mar 2015 11:22:19 +0100 Subject: [PATCH] updated to travis --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..15b9625 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,34 @@ +language: python +matrix: + include: + - python: 2.6 + - python: 2.7 + env: + - secure: QCFbUk130GqYGWYVTzjFWIIbZKPHyjgK6V/kNo7iAdvZzCHLAZIPW9FQKkg8JGqPU8TWVVbZ++u1ATAXE4kiC7SXEUxMoxlOpR+L4z/zJWVgeNA1pS8JJh8hm9CXW5FbcFXt8ewLjsL7IrYPK+VgrvWLytks+Z9JL12YL2MupdA= + - secure: FaGAPqroDqoWDIoiia1fSxm1/Oo2QPca2WZYTsADHxe5Iir5gBkxCTwREEo6fPedVZPaTLBxOodis7K8KrJ9UTInGRW0NvlAgYVpCFzMm5v2NLCUyDtVcZ00HNqUUyE2YjgWrWxS6M7CNdlOi4gvrf85SIjSYwBlbQrX2bVSpGw= + - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master + - 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 texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended +- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi +- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi +- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel sphinx nose==1.3.0 jinja2==2.6 coveralls pygments==1.6 +install: +- python bootstrap-buildout.py +- ./bin/buildout +script: +- ./bin/python -c 'from bob.db.utfvp import get_config; print(get_config())' +- ./bin/bob_dbmanage.py utfvp download +- ./bin/coverage run --source=bob.fingervein ./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 -- GitLab