Commit 31b62eb4 authored by Manuel Günther's avatar Manuel Günther

enabled both C++ and python coverage to be reported

parent 3d57dd57
......@@ -20,14 +20,16 @@ before_install:
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links --find-links --use-wheel numpy$NUMPYSPEC; fi
- pip install --find-links --find-links --use-wheel sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6
- pip install coveralls
- python
- CFLAGS=-coverage ./bin/buildout
- CPPFLAGS=--coverage LDFLAGS=--coverage ./bin/buildout
- ./bin/python -c 'from bob.learn.libsvm import get_config; print(get_config())'
- ./bin/coverage run --source=bob.learn.libsvm ./bin/nosetests -sv
- ./bin/sphinx-build -b doctest doc sphinx
- ./bin/sphinx-build -b html doc sphinx
- 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/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment