Commit 1cd1d251 authored by André Anjos's avatar André Anjos 💬
Browse files

Enable C++ coverage

parent 61c3d9ce
...@@ -20,14 +20,14 @@ before_install: ...@@ -20,14 +20,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 matplotlib; 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 matplotlib; 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.measure import get_config; print(get_config())'" - "./bin/python -c 'from xbob.measure import get_config; print(get_config())'"
- "./bin/coverage run --source=xbob.measure ./bin/nosetests -sv" - "./bin/coverage run --source=xbob.measure ./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"
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