Skip to content
Snippets Groups Projects
Commit cc203f77 authored by Manuel Günther's avatar Manuel Günther
Browse files

Put travis builds on wheels

parent 1a10a780
No related branches found
No related tags found
No related merge requests found
language: python language: python
env:
global:
- secure: YO9IDBfr3MiySVQkVFKMUqsGwQrGR5YVrZVsCliODNb4zx4TnT1aP9FfBVP4jIa2VVS9427XWDcwym+9Y/umYiC2yOZKdnJqW8UeAvh0etYGce9sJz5y9gX0vmSbW1mH9ZZgs/qaBfX3im5CN+OKV9Fjz4+nTASw7q0Lf9Uu7dg=
- secure: FcW+q9jGCE0t1hzsS8hM9ziNyByRZ3kyNkY/cBUf6xBmKI0SQlo+ZNUnFD6g7VnSymrjmHE8LpJKFTTvEfrW614xZO6AwS5LpMhVZICI9I+GZv8IkF51UIJki/3+SXEHaXnsjTqqHc6zYfLtGvAFMqAZXcH4JB7Ol5tlcZGbuQ4=
matrix: matrix:
include: include:
- python: 2.6 - python: 2.6
- python: 2.7 - python: 2.7
env: env:
- secure: YO9IDBfr3MiySVQkVFKMUqsGwQrGR5YVrZVsCliODNb4zx4TnT1aP9FfBVP4jIa2VVS9427XWDcwym+9Y/umYiC2yOZKdnJqW8UeAvh0etYGce9sJz5y9gX0vmSbW1mH9ZZgs/qaBfX3im5CN+OKV9Fjz4+nTASw7q0Lf9Uu7dg=
- secure: FcW+q9jGCE0t1hzsS8hM9ziNyByRZ3kyNkY/cBUf6xBmKI0SQlo+ZNUnFD6g7VnSymrjmHE8LpJKFTTvEfrW614xZO6AwS5LpMhVZICI9I+GZv8IkF51UIJki/3+SXEHaXnsjTqqHc6zYfLtGvAFMqAZXcH4JB7Ol5tlcZGbuQ4=
- BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master - BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
- python: 3.2
env:
- NUMPYSPEC===1.7.1
- python: 3.3 - python: 3.3
env: - python: 3.4
- NUMPYSPEC===1.8.0
before_install: before_install:
- sudo add-apt-repository -y ppa:biometrics/bob - sudo add-apt-repository -y ppa:biometrics/bob
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libmatio-dev libhdf5-serial-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended - sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libmatio-dev libhdf5-serial-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi - pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose coverage cpp-coveralls
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi - pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel -r requirements.txt --pre coveralls
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6
- pip install coveralls
install: install:
- python bootstrap-buildout.py - python bootstrap-buildout.py
- CPPFLAGS=--coverage LDFLAGS=--coverage ./bin/buildout - CPPFLAGS=--coverage LDFLAGS=--coverage ./bin/buildout buildout:debug=false buildout:develop=. buildout:extensions=bob.buildout buildout:auto-checkout=
script: script:
- ./bin/python -c 'from bob.io.matlab import get_config; print(get_config())' - ./bin/python -c 'import pkg_resources; from bob.io.matlab import get_config; print(get_config())'
- ./bin/coverage run --source=bob.io.matlab ./bin/nosetests -sv - ./bin/coverage run --source=bob.io.matlab ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx - ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx - ./bin/sphinx-build -b html doc sphinx
after_success: after_success:
- cpp-coveralls --build-root=`pwd` --exclude=src --dump=cpp_cov.json - cpp-coveralls --build-root=`pwd` --exclude=src --dump=cpp_cov.json
- coveralls --merge=cpp_cov.json - coveralls --merge=cpp_cov.json
- ./src/bob.extension/scripts/upload-sphinx.sh - 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment