.travis.yml 1.7 KB
Newer Older
Pedro TOME's avatar
Pedro TOME committed
1
language: python
2
3
env:
  global:
4
5
  - secure: "MPgfLy1TeHcTfPcRqnKAqzvDAeHoAGEf7+O6KqI0R71vtUc5tz/RdCmG/pbPzNRSo5m8nPWs4/R04enbC/mjb8ibxqZixTQ8ZLOEZDrLFwpzn7aVIS7Dr0dLrk1/gFQKUy1jpQF554VZK02dYz03E6UkjRLuyIn0aA1N0jJF2bM="
  - secure: "R//IYVHP3G4JQah/AhEhT8HCmESN5FsC1JGjFQK05/q9QFm6Ztgqk86EZ2bDA1DW0eTZ47dmyQ3wJwoWI6DcgQeWAIred/iK2ZtKAMefmvwRjnxEDcE+D9F2ZCOB0HNW5o7LtuwsbXWNE2Z880pOBKVkQJyFKLfnwkywOv6/irI="
6
  - BOB_UPLOAD_WHEEL=1
Pedro TOME's avatar
Pedro TOME committed
7
8
9
matrix:
  include:
  - python: 2.7
André Anjos's avatar
André Anjos committed
10
11
    env:
    - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
Pedro TOME's avatar
Pedro TOME committed
12
  - python: 3.3
13
  - python: 3.4
14
  - python: 3.5
Pedro TOME's avatar
Pedro TOME committed
15
16
17
18
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 texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
19
- pip install --upgrade pip
20
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose coverage cpp-coveralls pillow
21
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt coveralls
Pedro TOME's avatar
Pedro TOME committed
22
23
install:
- python bootstrap-buildout.py
24
- ./bin/buildout
Pedro TOME's avatar
Pedro TOME committed
25
script:
26
- ./bin/python -c 'from bob.db.utfvp import get_config; print(get_config())'
Pedro TOME's avatar
Pedro TOME committed
27
28
29
30
31
32
- ./bin/bob_dbmanage.py utfvp download
- ./bin/coverage run --source=bob.db.utfvp ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- coveralls
33
34
35
36
- wget https://raw.githubusercontent.com/bioidiap/bob.extension/master/scripts/upload-{sphinx,wheel}.sh
- chmod a+x upload-sphinx.sh upload-wheel.sh
- ./upload-sphinx.sh
- ./upload-wheel.sh