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

Put travis builds on wheels

parent b21edd31
Branches
Tags
No related merge requests found
language: python language: python
env:
global:
- secure: LO1nhhRWhoKkEd6s4in6VWF/6MDtkPmQJ+Wq8bI9SOZprOhmV448rQTlJLhYLHKdipONZI4F7m7w+slmRjFMTvr6WBkNFYKPf0bgTaPfMWTXHZifKYTavTZyc3eTEhvFxQY/eBTEdOOkafqU2EkkWB0yZbi7b+a9M5ZaRDT1/V8=
- secure: ftJqjYDlLT6/Y9ZvBNfJmf6RRtZzjd8kGR5ek+vPdOcwoPX4sWUDlJTlN33dc5wHjruKFjOy4Zy12ICQrJ6Si+nWsLeBh0wc6t6oh+HiZekXMetkxtf5ldDr00UEXqPJqTPIVX1s6gQpibPv8gGf9BdfRZ+HhvgH1pZy6Da8zP0=
- BOB_UPLOAD_WHEEL=1
matrix: matrix:
include: include:
- python: 2.6 - python: 2.6
env:
- MAX_CONCURRENCY=1
- python: 2.7 - python: 2.7
env: env:
- secure: LO1nhhRWhoKkEd6s4in6VWF/6MDtkPmQJ+Wq8bI9SOZprOhmV448rQTlJLhYLHKdipONZI4F7m7w+slmRjFMTvr6WBkNFYKPf0bgTaPfMWTXHZifKYTavTZyc3eTEhvFxQY/eBTEdOOkafqU2EkkWB0yZbi7b+a9M5ZaRDT1/V8=
- secure: ftJqjYDlLT6/Y9ZvBNfJmf6RRtZzjd8kGR5ek+vPdOcwoPX4sWUDlJTlN33dc5wHjruKFjOy4Zy12ICQrJ6Si+nWsLeBh0wc6t6oh+HiZekXMetkxtf5ldDr00UEXqPJqTPIVX1s6gQpibPv8gGf9BdfRZ+HhvgH1pZy6Da8zP0=
- 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
- MAX_CONCURRENCY=1
- python: 3.2
env:
- NUMPYSPEC===1.7.1
- MAX_CONCURRENCY=1
- python: 3.3 - python: 3.3
env: - python: 3.4
- NUMPYSPEC===1.8.0
- MAX_CONCURRENCY=1
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 libhdf5-serial-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended - sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libhdf5-serial-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev - sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev python-imaging
- sudo apt-get install -qq --force-yes libavcodec-dev libavformat-dev libswscale-dev - sudo apt-get install -qq --force-yes libavcodec-dev libavformat-dev libswscale-dev libatlas-dev libatlas-base-dev liblapack-dev
- sudo apt-get install -qq --force-yes python-imaging - pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose numpy pillow coverage cpp-coveralls
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi - pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt 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 http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel sphinx nose==1.3.0 jinja2==2.6 pillow 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.ip.optflow.liu import get_config; print(get_config())' - ./bin/python -c 'import pkg_resources; from bob.ip.optflow.liu import get_config; print(get_config())'
- ./bin/coverage run --source=bob.ip.optflow.liu ./bin/nosetests -sv - ./bin/coverage run --source=bob.ip.optflow.liu ./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