Skip to content

Commit

Permalink
Put travis builds on wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Guenther committed May 20, 2015
1 parent 3fb4326 commit 552c422
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
language: python
env:
global:
- secure: Ck4YRyeroQhNFEUe2UOs0xtvsgXlqHFUtJCvHV8doXowXHp9aHRJqQZRJyPrDLERxqzWr6q4L1NIJnjOKALiKN0UrmoVOhRrbblu3FS1W9RmjLVkzohsgzA+zp2C1PdrYwSMS8FFp1SmXORYCB1E2VMNdoBhfKZjAWwLobrxUiU=
- secure: h0vO8a9n55lXgKTIRFb2WFWpIAzgLfV9OLUaTynbTZBROAzK1M6D2uxA9hnE7tSaxn8jp8Hg7LeyPctn8GRubFMU+P5HxeOhNfkXz8GNv1bUUbwULCt15mTG9ioksvWqg2hTWf4OTGpTiTttPzgIrM/F2/daD/lMhKwHjaJ9YUg=
- BOB_UPLOAD_WHEEL=1
matrix:
include:
- python: 2.6
- python: 2.7
env:
- secure: Ck4YRyeroQhNFEUe2UOs0xtvsgXlqHFUtJCvHV8doXowXHp9aHRJqQZRJyPrDLERxqzWr6q4L1NIJnjOKALiKN0UrmoVOhRrbblu3FS1W9RmjLVkzohsgzA+zp2C1PdrYwSMS8FFp1SmXORYCB1E2VMNdoBhfKZjAWwLobrxUiU=
- secure: h0vO8a9n55lXgKTIRFb2WFWpIAzgLfV9OLUaTynbTZBROAzK1M6D2uxA9hnE7tSaxn8jp8Hg7LeyPctn8GRubFMU+P5HxeOhNfkXz8GNv1bUUbwULCt15mTG9ioksvWqg2hTWf4OTGpTiTttPzgIrM/F2/daD/lMhKwHjaJ9YUg=
- BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
- python: 3.2
env:
- NUMPYSPEC===1.8.0
- SPHINXSPEC===1.2
- python: 3.3
env:
- NUMPYSPEC===1.8.0
- python: 3.4
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 libatlas-dev libatlas-base-dev liblapack-dev libhdf5-serial-dev libvl-dev texlive-latex-base texlive-latex-extra texlive-math-extra texlive-latex-recommended texlive-fonts-recommended
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi
- 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$SPHINXSPEC matplotlib==1.3.1 nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6
- pip install coveralls
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose numpy matplotlib coverage cpp-coveralls
- pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt coveralls
install:
- 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:
- ./bin/python -c 'from bob.ip.base import get_config; print(get_config())'
- ./bin/python -c 'import pkg_resources; from bob.ip.base import get_config; print(get_config())'
- ./bin/coverage run --source=bob.ip.base ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
after_success:
- cpp-coveralls --build-root=`pwd` --exclude=src --dump=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 comments on commit 552c422

Please sign in to comment.