diff --git a/.travis.yml b/.travis.yml index 059faf70f3fe0145b318dfd6d8f444439deac5e2..18515897d653f4db7eadf52be17c120912dcf37c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,14 +24,16 @@ before_install: - sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libatlas-dev libatlas-base-dev liblapack-dev gfortran texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended - 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 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.ap import get_config; print(get_config())' - ./bin/coverage run --source=bob.ap ./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