.travis.yml 1.57 KB
Newer Older
André Anjos's avatar
André Anjos committed
1
2
3
language: python
matrix:
  include:
4
5
6
7
8
9
10
11
12
13
14
  - python: 2.6
  - python: 2.7
    env:
    - secure: F8PfOJ9nGrtZdTcv132jrx5spnzFfpFCSMtea4TLwvotbFc7/gHVEu2UeLktWuVVnL715MSbJ8aXAFR918qwwJsCop0fnPNtgC70nLbYUNWvyOSzvm6JwXA9cYHvAgxYA4Y1folXcz+0bIQqD0MkBM/1yiLivS1kHP3K2jrdWNk=
    - secure: YAMap+9kNi9om5b4h1leawWrpgkvt1iIv3UVkfp0zTSM9kb1qVjJxWd75IxjbVSGXQ5hoMAgyOzCwOFoa4r3LMf8bBtStZ4zeoaichxEQHr05C5BXgHFDWUnFdpInvODMbfznySdxiLLWQ6kJFldmdFwYizJxcKxSWqL4EQ3Snw=
  - python: 3.2
    env:
    - NUMPYSPEC===1.7.1
  - python: 3.3
    env:
    - NUMPYSPEC===1.8.0
André Anjos's avatar
André Anjos committed
15
before_install:
16
17
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
18
- sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev libhdf5-serial-dev
19
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
20
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
21
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC  sphinx nose==1.3.0 jinja2==2.6; fi
22
- pip install cpp-coveralls
André Anjos's avatar
André Anjos committed
23
install:
24
25
- python bootstrap.py
- CFLAGS=-coverage ./bin/buildout
André Anjos's avatar
André Anjos committed
26
script:
27
28
29
30
- ./bin/python -c 'from bob.io.image import get_config; print(get_config())'
- ./bin/coverage run --source=bob.io.image ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
André Anjos's avatar
André Anjos committed
31
after_success:
32
33
- coveralls --build-root=`pwd` --exclude=src
- ./src/bob.extension/scripts/upload-sphinx.sh