.travis.yml 1.81 KB
Newer Older
André Anjos's avatar
André Anjos committed
1
2
3
language: python
matrix:
  include:
4
5
6
7
8
  - python: 2.6
  - python: 2.7
    env:
    - secure: U6PO13Ek4WGWqkx1g9nearxLiK9QEOp0/YcncDGtK1uTjH4poEfL4+Zdqdmusgz0ZPzEbpNdDjrVkPdzlHfMCLiD7b1F0ZXwZn8gZaQRljCFVN4gRxHHUSDuhqMCfByJe2dAai7G+NP7k2c4j+kjMMNt0L8Sg9kxPjk99ZH0EL4=
    - secure: SPjDIc4Qs4FsnCUyHbsYKj8+7FmltTrFfoRBEqbYvSC6onRjfkauJEFSBkO2sTv/usa5AcKmCBjfMiqSya2/eSjJzti7d1AWHrtIe8CsU4/KtJkCT/3Y72HJk35CRpUyp/Pd3dhASjrAvI7aByU60EvRfxcwtNJEumwx0bM+OE8=
9
    - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
10
11
12
13
14
15
  - python: 3.2
    env:
    - NUMPYSPEC===1.8.0
  - python: 3.3
    env:
    - NUMPYSPEC===1.8.0
André Anjos's avatar
André Anjos committed
16
before_install:
17
18
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
19
- sudo apt-get install --force-yes libboost-all-dev libblitz1-dev libatlas-dev libatlas-base-dev liblapack-dev libhdf5-serial-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
Manuel Günther's avatar
Manuel Günther committed
20
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi
21
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
Manuel Günther's avatar
Manuel Günther committed
22
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
23
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel matplotlib==1.3.0 sphinx nose==1.3.0 jinja2==2.6 pygments==1.6 setuptools==7.0
24
- pip install cpp-coveralls
André Anjos's avatar
André Anjos committed
25
install:
26
27
- python bootstrap.py
- CFLAGS=-coverage ./bin/buildout
André Anjos's avatar
André Anjos committed
28
script:
29
30
31
32
- ./bin/python -c 'from bob.measure import get_config; print(get_config())'
- ./bin/coverage run --source=bob.measure ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
33
after_success:
34
35
- coveralls --build-root=`pwd` --exclude=src
- ./src/bob.extension/scripts/upload-sphinx.sh