.travis.yml 3.39 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
language: python
matrix:
  include:
  - python: 2.6
  - python: 2.7
    env:
    - secure: G4MMgGR5NIUKFdW6ZEMDBMyhLwITKX9WMHtLQ652HpXmF+Dkuab40bDQ1RmA2yv4REDwqQdbXU8sfaTGSUXb/yD69aYl4j6jQMgAimwCSHA8JcQMxJKEr1u6Ty0hQ0FS64SldgEh+4G3jL+3BpeGedl8Wl34dF8gnWDSGv3D7OL2QGeBUWbMXnAK4xKo+2xVrO7DjOHyN1hbIlLmcvaP4yC4kctPf9TTFfK7unwxuSQivnnaHo3tpzsTXWl8h+bvmjZNMgiX5MjtXl/7iLS02UxstFgvti+br17spqVOz1ehVE4xQB7phFlMEAKInTJEBfQq5H5BhcMbsJIDDr3raKnqP5helsMMtR9SjGnqMki2Lc3QkA+X5SxYiiamNF7UDc32yrHsxYn77T4P74w6GQCh90F7fLJOkHUqB53w5ngXgnDw9trDyBQteaqSagpvWQ8WR/q/35dQRAE0yytyn+436vxwkJpMLV60Mr+cRg5Fgtuh0Xg2ZxZ7GDdDlcIeh9ycRhsVs1nhrNupFwF4ITYVGnR8HOgkAX291rVhZG5+bFdyay45mvNRxDc9l7cfXyaalxN+ExB4GyEwXT+VVVmhdQmZ+vGCZSo948i2eHTu7ZaH2EfB9AmcuazGWQNK97DZi7h1uOx41siNE5jBdYoLyANC6Nl9GsHLwX7HIB8=
    - secure: Dge/7r8O80MXxqWsUYboDPhVH4imDmYwbc00hFDAR0xAVkagYm/K7FoKONpkKUEJhcghFedvk8ecW5upaLnI6Dd/zsvKnjNiUCVq1BUGd2lXxhsHxr1ztsUJLvhUJXdUSCK5Z0W6sKGZXEp98EnUXYJI4xiS5Lox4Q7RenJITmISV6/gYgNN1il7PtGVqE5rLQVTC3mYarxM2aZWTgeHAN/oXjbpDR5/WQllcYfYLLyySdl0Icmq4rLm1qM07hrgJTHR+WQ5GXZRoULnij70QBzmAUeN348F2sSAtj8s2yxW90PFmZtDbEjhf4KHw9sfDWBlKVIK0z1AzR7axSuZe0Tl9ADQUJHSumHC/WJLqvClc5kkmmQpVvatQpehjyJ5TrbXarD5B/qiQJ1LqtH/g5YCQya4EaErsvlmRmAZh8WGFq7r+QWnJZlbPvkWi9Mw0NIaJKzlJJvWYoqpIy3kRP639Up8ig+dDmYVGxs44BzIh9xvRQZvUy/gm90gHBVFC9Q4T7x3QRec2mhwGxJy8Vo4sz5IACNftTOiQMv30tDi3yhiis+ZcxFIRameQAIYbqCsITOODO0btrJmxfzgA2mbiink+71//ZQSlzY8KVcZgug4MDA6sLa+klwAzQAHWn1tRuPtakmkLwMKamdOI/0H7VT840IcEeHfXP20mts=
    - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
    - BOB_UPLOAD_WHEEL="--python-tag py2"
before_install:
- sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq
- sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev libboost-all-dev libblitz1-dev libhdf5-serial-dev libvl-dev
- sudo apt-get install -qq --force-yes dvipng texlive-latex-base texlive-latex-extra texlive-math-extra texlive-latex-recommended texlive-fonts-recommended
- sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev gfortran
- sudo apt-get install -qq --force-yes python-opencv libcv-dev libcvaux-dev libopencv-dev
- sudo apt-get install -qq --force-yes python-numpy python-scipy python-matplotlib
19
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel pillow sphinx nose numpy scipy matplotlib coverage
20 21 22 23 24 25 26 27
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt coveralls
install:
- python bootstrap-buildout.py
- ./bin/buildout buildout:debug=false -c buildout-before-patch.cfg
- mkdir PythonFaceEvaluation
- wget https://www.idiap.ch/software/bob/databases/latest/PythonFaceEvaluation.tar.bz2
- tar -xjf PythonFaceEvaluation.tar.bz2 -C PythonFaceEvaluation
- ./bin/patch_CSU.py .
28
- ./bin/buildout buildout:develop="PythonFaceEvaluation ." buildout:extensions=bob.buildout buildout:auto-checkout= buildout:debug=false
29 30 31 32 33 34 35 36 37 38 39
script:
- ./bin/python -c 'import pkg_resources; from bob.bio.csu import get_config; print(get_config())'
- ./bin/coverage run --source=bob.bio.csu ./bin/nosetests -vs
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- coveralls
- 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