.travis.yml 1.84 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: JnEd9VsJI6Kff86rvQ3RPxoMSTef8osnBFfmbbp6ZATs4JyndGRLdF4JPBNKPkaQpno+miEXNaBQdg+nU3e/pi8GngicvL6EIHYXQpw6Wpz/YKvEOexk16Lm4WsVNZFZTrVF3+gepMjDZbCfyZLwENxGdjz1Beub7XGfUZ8rcj4=
    - secure: K41vqTkHkqWrpsB9Rnfmt9M2+lFKFAfRpmRRbHGf7MIKjS1rZJiM91mDsVElfbzDHzCcb6jN5I09LN5omrA8q56d8D3otZrPNwgfGVIoi1F2tRtekva16PTABWFPruVGApZsFREIQzV7CneaXRq37TBKhoTeTGsTZF8ZZy8db3A=
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.7.1
  - 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 -qq --force-yes libboost-all-dev libblitz1-dev libhdf5-serial-dev libsvm-dev  texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
20
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
21
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
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 sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6 setuptools==7.0
André Anjos's avatar
André Anjos committed
24
install:
25 26
- python bootstrap.py
- CFLAGS=-coverage ./bin/buildout
André Anjos's avatar
André Anjos committed
27
script:
28 29 30 31
- ./bin/python -c 'from bob.learn.libsvm import get_config; print(get_config())'
- ./bin/coverage run --source=bob.learn.libsvm ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
André Anjos's avatar
André Anjos committed
32
after_success:
33
- coveralls --build-root=`pwd` --exclude=src --exclude-pattern=".*Compiler.*"
34
- ./src/bob.extension/scripts/upload-sphinx.sh