.travis.yml 1.75 KB
Newer Older
Manuel Günther's avatar
Manuel Günther committed
1
2
3
4
5
6
7
language: python
matrix:
  include:
  - python: 2.7
    env:
    - secure: gGugdsOA/a9BEl/gD3d7Tx6aO4HIXkWPZ8FTH8tB8GyAJZoc3RBcjWzkzKcQzBSSGGYtb0NpVyBrTY8ZI8cyP3uiMF1TsTcezVqv46Lo0pgAq907eBdAzE2e8daMTHtu/BdNx/swTHeKh6CnwjbhtCfmj/Xc2NqJkZvRzl7ORJw=
    - secure: Zvra/7t33S8E4SF6tGzEt99F0Jz4Os/3tOso0jS+CXCxIpE0EmHadFxXIXje7tDRlSSnV4dxhTaICiAzbwQsxbZMkKjhc75OU/C+mpHCbJpzxcTm/L8Dj9mPMzlWjqjaREFnUGThr2biERkFUrinHSSQm8h7bizH4qltMhRXYTQ=
8
    - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
Manuel Günther's avatar
Manuel Günther committed
9
    - BOB_UPLOAD_WHEEL="--universal"
Manuel Günther's avatar
Manuel Günther committed
10
  - python: 3.3
Manuel Günther's avatar
Manuel Günther committed
11
  - python: 3.4
12
  - python: 3.5
Manuel Günther's avatar
Manuel Günther committed
13
14
15
before_install:
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
16
- 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
17
- pip install --upgrade pip
Manuel Günther's avatar
Manuel Günther committed
18
19
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose numpy coverage
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt coveralls
Manuel Günther's avatar
Manuel Günther committed
20
install:
Manuel Günther's avatar
Manuel Günther committed
21
- python bootstrap-buildout.py
Manuel Günther's avatar
Manuel Günther committed
22
- ./bin/buildout buildout:develop=. buildout:extensions=bob.buildout buildout:auto-checkout=
Manuel Günther's avatar
Manuel Günther committed
23
script:
Manuel Günther's avatar
Manuel Günther committed
24
- ./bin/python -c 'import pkg_resources; from bob.db.biosecure import get_config; print(get_config())'
Manuel Günther's avatar
Manuel Günther committed
25
26
27
28
29
- ./bin/coverage run --source=bob.db.biosecure ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- coveralls
Manuel Günther's avatar
Manuel Günther committed
30
31
32
33
- 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