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

enabled both C++ and python coverage to be reported

parent cec168a0
No related branches found
No related tags found
No related merge requests found
......@@ -22,14 +22,16 @@ before_install:
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev 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 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
- CPPFLAGS=--coverage LDFLAGS=--coverage ./bin/buildout
script:
- ./bin/python -c 'from bob.ip.flandmark import get_config; print(get_config())'
- ./bin/coverage run --source=bob.ip.flandmark ./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
- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment