Skip to content
Snippets Groups Projects
Commit ddde0b6b authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Measure C/C++ coverage instead of Python's

parent 051a0694
No related branches found
No related tags found
No related merge requests found
...@@ -21,14 +21,14 @@ before_install: ...@@ -21,14 +21,14 @@ before_install:
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi
- pip install coveralls - pip install cpp-coveralls
install: install:
- "python bootstrap.py" - "python bootstrap.py"
- "./bin/buildout" - "CFLAGS=-coverage ./bin/buildout"
script: script:
- "./bin/python -c 'from xbob.io import get_config; print(get_config())'" - "./bin/python -c 'from xbob.io import get_config; print(get_config())'"
- "./bin/coverage run --source=xbob.io ./bin/nosetests -sv" - "./bin/coverage run --source=xbob.io ./bin/nosetests -sv"
- "./bin/sphinx-build -b doctest doc sphinx" - "./bin/sphinx-build -b doctest doc sphinx"
- "./bin/sphinx-build -b html doc sphinx" - "./bin/sphinx-build -b html doc sphinx"
after_success: after_success:
- "coveralls" - "coveralls --build-root=`pwd` --exclude=src"
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