Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.learn.boosting
Commits
a3ffeed9
Commit
a3ffeed9
authored
May 20, 2015
by
Manuel Günther
Browse files
Put travis builds on wheels
parent
d75d6c60
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
a3ffeed9
language
:
python
env
:
global
:
-
secure
:
IrUGhi6wLNjZTcVmyvlUW4S8gvbsjd1KGTONBBFJLe2SsczfuTIp0UrwPYAu3O2mEh04ivdgpjy/sKKH+atd+mx1WGYpyc7telS+6pzzGhW+utLnknETJYN0diK1Th62GFDhbwtvjoLcn2VMT22Agh94Ob4JvD0tzlDcZpEOOEs=
-
secure
:
YV9GTtTddGgvvaW/o0esSY5ov8qIZJI77+mapAR138JrUi4opSXPzVk9XzHXCRR6K1IPBJ/PZfF+optX6SGWiD634A8T1vvrt8X/RrvV0Lbu3V33Qxi7UQgVRTGbR61RlzSEe1WjVXUKdZGMz+O07hwzS/MVkY88K48h/3Gtej8=
-
BOB_UPLOAD_WHEEL=1
matrix
:
include
:
-
python
:
2.6
# env:
# - SCIPYSPEC===0.12.0
-
python
:
2.7
env
:
# - SCIPYSPEC===0.12.0
-
secure
:
IrUGhi6wLNjZTcVmyvlUW4S8gvbsjd1KGTONBBFJLe2SsczfuTIp0UrwPYAu3O2mEh04ivdgpjy/sKKH+atd+mx1WGYpyc7telS+6pzzGhW+utLnknETJYN0diK1Th62GFDhbwtvjoLcn2VMT22Agh94Ob4JvD0tzlDcZpEOOEs=
-
secure
:
YV9GTtTddGgvvaW/o0esSY5ov8qIZJI77+mapAR138JrUi4opSXPzVk9XzHXCRR6K1IPBJ/PZfF+optX6SGWiD634A8T1vvrt8X/RrvV0Lbu3V33Qxi7UQgVRTGbR61RlzSEe1WjVXUKdZGMz+O07hwzS/MVkY88K48h/3Gtej8=
-
BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
# - python: 3.2
# env:
# - NUMPYSPEC===1.8.0
# - SCIPYSPEC===0.13.1
# - python: 3.3
# env:
# - NUMPYSPEC===1.8.0
# - SCIPYSPEC===0.13.1
-
python
:
3.3
-
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 libhdf5-serial-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
-
sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
-
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 scipy$SCIPYSPEC matplotlib==1.3.1 sphinx 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 scipy 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.learn.boosting import get_config; print(get_config())'
-
./bin/python -c '
import pkg_resources;
from bob.learn.boosting import get_config; print(get_config())'
-
./bin/coverage run --source=bob.learn.boosting ./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 --exclude-pattern=".*Compiler.*" --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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment