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
d75d6c60
Commit
d75d6c60
authored
Feb 26, 2015
by
Manuel Günther
Browse files
enabled both C++ and python coverage to be reported
parent
8708134b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
d75d6c60
...
...
@@ -25,14 +25,16 @@ before_install:
-
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
install
:
-
python bootstrap-buildout.py
-
CFLAGS=-coverage ./bin/buildout
-
C
PP
FLAGS=-
-coverage LDFLAGS=--
coverage ./bin/buildout
script
:
-
./bin/python -c '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
:
-
coveralls --build-root=`pwd` --exclude=src --exclude-pattern=".*Compiler.*"
-
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
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