diff --git a/.travis.yml b/.travis.yml
index 478c4fd4c905eea702b6fa7599c227991f31dcc1..c6424e50c7845e2cfd39f4b7ce9a86f488b9208b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,7 @@ script:
 - ./bin/sphinx-build -b doctest doc sphinx
 - ./bin/sphinx-build -b html doc sphinx
 after_success:
-- cpp-coveralls --build-root=`pwd` --exclude=src --dump=cpp_cov.json
+- cpp-coveralls --build-root=`pwd` --exclude=src --exclude-pattern=".*Compiler.*" --dump=cpp_cov.json
 - coveralls --merge=cpp_cov.json
 - wget https://raw.githubusercontent.com/bioidiap/bob.extension/master/scripts/upload-{sphinx,wheel}.sh
 - chmod a+x upload-sphinx.sh upload-wheel.sh