.travis.yml 1.44 KB
Newer Older
Manuel Günther's avatar
Manuel Günther committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: python
matrix:
  include:
  - python: 2.6
  - python: 2.7
    env:
    - secure: SVdoK4kFAB1pAWLd9JXOy7GtEJfcfBVon93Wdv/PijTUR7Cn1lOAc5eSY7l0jFIsok9BIZ55NUiI/ETBsF3x4gtYVLMKof5LIzu2y0duYdynQNFwE9maxFHeR3odiL6JXk2fQDYMAwnQyVBdO5j3DewfIa4ORuc2oJ2GHfX3nJw=
    - secure: K+hZt6FbhJ4Cnso6Aqal1Bua94Nat47EZxjqbaS3uJON/aSEgYfC76ptMlHppjNz/YtpxKSIItETDYivBThXE5xMK3E61qfrcZvbqHlwzfmL1F5B9I3TMQZKW3PzaNqKWmWzrzU8SwEJiCa4RRxm53SEFpQFYfYXK1/BYsweHn8=
  - 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 libatlas-dev libatlas-base-dev liblapack-dev
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC matplotlib sphinx nose; fi
- pip install coveralls
install:
- python bootstrap.py
- ./bin/buildout
script:
- ./bin/python -c 'from bob.db.iris import get_config; print(get_config())'
- ./bin/coverage run --source=bob.db.atnt ./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