.travis.yml 1.51 KB
Newer Older
1
2
3
4
5
6
language: python
matrix:
  include:
  - python: 2.6
  - python: 2.7
    env:
7
8
    - secure: OptTI9z5ggs6ozrWFUq/l1G3mSMTdlJz11Qeudy+yAEa0iFFob2q60qRl7MvvrZsW0mguqlMA/hcV3Gvt1CEjJySoMZbD1z5vHJbPt5yVQuohkkrJn1UnIytMP+mUSIDGc5GXVC5urIIQYjY46FqFZ8wDMmUb2QJIr/u8qBrgBA=
    - secure: PIhIeT13JWNYkWGwxHnk9EROPTJkZuDBbyTsT+wobn4hJjjpGTqcZnZwCEPIwHF2qtEKkUADI5cG5yo15kSU0eJfjoI6JlJTSBTp/LfMqlvb2LlfV9LkwZAAsiNaJvKeitrTLcrsFO0lLQX90+Dt6s155okUu4au3DMSWE1sBbs=
9
10
11
12
13
14
15
16
17
18
19
20
  - 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
- 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
Manuel Günther's avatar
Manuel Günther committed
21
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC  scipy==0.12 sphinx nose; fi
22
23
24
25
26
27
28
29
30
31
32
33
- pip install cpp-coveralls
install:
- python bootstrap.py
- CFLAGS=-coverage ./bin/buildout
script:
- ./bin/python -c 'from bob.learn.boosting import get_config; print(get_config())'
- ./bin/coverage run --source=bob.learn.boosting ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- coveralls --build-root=`pwd` --exclude=src
- ./src/bob.extension/scripts/upload-sphinx.sh