diff --git a/.travis.yml b/.travis.yml index 5840c1f526f7e489e55f22d2488ec549de218482..e7bf7000ad4bc43c06d2a4d4c04c43c8bca00662 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,7 +51,7 @@ script: - echo -en 'travis_fold:end:script.test-browser-unit\\r' after_success: - - make should_coveralls + - make should_coveralls COVERALLS_OPTIONS="--gcov /usr/bin/gcov-4.8" notifications: email: diff --git a/Makefile b/Makefile index 58b01e2f21f846ea54b4b64d24e0948e3cd0f06a..9166bd48928d3e8166e7db79d67732b6b0eff176 100644 --- a/Makefile +++ b/Makefile @@ -115,9 +115,9 @@ should_gcovr: should_coverage ### Upload to coveralls.io unit_coveralls: - coveralls --exclude release --exclude algo/lib --exclude algo/tests --exclude algo/tools --exclude tests --exclude tools --exclude lib --gcov-options '\-lp' + coveralls $(COVERALLS_OPTIONS) --exclude release --exclude algo/lib --exclude algo/tests --exclude algo/tools --exclude tests --exclude tools --exclude lib --gcov-options '\-lp' should_coveralls: - coveralls --exclude release --exclude algo/lib --exclude algo/tests --exclude algo/tools --exclude tests --exclude tools --exclude lib --gcov-options '\-lp' -r algo + coveralls $(COVERALLS_OPTIONS) --exclude release --exclude algo/lib --exclude algo/tests --exclude algo/tools --exclude tests --exclude tools --exclude lib --gcov-options '\-lp' -r algo ### cppcheck