.travis.yml 1.78 KB
Newer Older
1
2
3
4
language: python
matrix:
  include:
  - python: 2.6
5
6
    env:
    - SCIPYSPEC===0.12.0
7
8
  - python: 2.7
    env:
9
    - SCIPYSPEC===0.12.0
10
11
    - secure: IrUGhi6wLNjZTcVmyvlUW4S8gvbsjd1KGTONBBFJLe2SsczfuTIp0UrwPYAu3O2mEh04ivdgpjy/sKKH+atd+mx1WGYpyc7telS+6pzzGhW+utLnknETJYN0diK1Th62GFDhbwtvjoLcn2VMT22Agh94Ob4JvD0tzlDcZpEOOEs=
    - secure: YV9GTtTddGgvvaW/o0esSY5ov8qIZJI77+mapAR138JrUi4opSXPzVk9XzHXCRR6K1IPBJ/PZfF+optX6SGWiD634A8T1vvrt8X/RrvV0Lbu3V33Qxi7UQgVRTGbR61RlzSEe1WjVXUKdZGMz+O07hwzS/MVkY88K48h/3Gtej8=
12
13
14
  - python: 3.2
    env:
    - NUMPYSPEC===1.8.0
15
    - SCIPYSPEC===0.13.1
16
17
18
  - python: 3.3
    env:
    - NUMPYSPEC===1.8.0
19
    - SCIPYSPEC===0.13.1
20
21
22
23
24
25
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
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
26
- 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
27
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel scipy$SCIPYSPEC matplotlib==1.3.0 sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls
28
29
install:
- python bootstrap.py
30
- CFLAGS=-coverage ./bin/buildout
31
32
script:
- ./bin/python -c 'from bob.learn.boosting import get_config; print(get_config())'
33
- ./bin/coverage run --source=bob.learn.boosting ./bin/nosetests -sv
34
35
36
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
Manuel Günther's avatar
Manuel Günther committed
37
- coveralls --build-root=`pwd` --exclude=src --exclude-pattern=".*Compiler.*"
38
- ./src/bob.extension/scripts/upload-sphinx.sh