.travis.yml 1.69 KB
Newer Older
Manuel Günther's avatar
Manuel Günther committed
1
2
3
4
5
6
7
8
language: python
matrix:
  include:
  - python: 2.6
  - python: 2.7
    env:
    - secure: nFUUA3ju4Y+JTuLS4N2u+9FZtvWMIKij8wz4OzpLNtPhAitdzZJSiAUgE5uY94MbRlsyBkLuyUiJ144RVRoRmZuaw4Dkr/ntW3Z/zqIni7IYJ4yl3QUPXGSbTH7HR2LQIid7mHkeWcEguyfiusSYhBhmEtxPJoHN4SfaFfveX28=
    - secure: bN9g+XWFSBHYsJdjNVk/h0ijua42yi5pfw2EIEpSGAg5IoIVP2ZwwC5Nc3z+w08+TpdyHjFqP7wVj0e0Ltcz2+Ia3sG8sprqC4jaVrEe4E2xaImvzxRUpLBzgO7jbPsi8Kulz1BCuSKcE+P9/wHpGi92DX42+lVw4f2iFtKWEaM=
9
    - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
Manuel Günther's avatar
Manuel Günther committed
10
11
12
13
14
15
16
17
18
  - 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
19
- 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
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 --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
Manuel Günther's avatar
Manuel Günther committed
22
- 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
Manuel Günther's avatar
Manuel Günther committed
23
install:
Manuel Günther's avatar
Manuel Günther committed
24
- python bootstrap-buildout.py
Manuel Günther's avatar
Manuel Günther committed
25
26
27
- ./bin/buildout
script:
- ./bin/python -c 'from bob.db.mobio import get_config; print(get_config())'
28
- ./bin/bob_dbmanage.py mobio download
Manuel Günther's avatar
Manuel Günther committed
29
30
31
32
33
34
- ./bin/coverage run --source=bob.db.mobio ./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