diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-10 18:48:47 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-12 01:54:42 +0100 |
commit | f7324f997be2c5115ed312f33dc26c1c935fab3e (patch) | |
tree | fb64b9c8ab0bdfb1e35390a96774ed5139a65847 /other | |
parent | b5cfd33340a57f6056cc99c6f6555b10f0e82971 (diff) |
Only report coverage on clang, not on the GCC build.
Diffstat (limited to 'other')
-rwxr-xr-x | other/travis/toxcore-after_script | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/other/travis/toxcore-after_script b/other/travis/toxcore-after_script index 06dec607..40175239 100755 --- a/other/travis/toxcore-after_script +++ b/other/travis/toxcore-after_script | |||
@@ -2,8 +2,12 @@ | |||
2 | 2 | ||
3 | set -e -x | 3 | set -e -x |
4 | 4 | ||
5 | coveralls \ | 5 | # Only submit coverage from the clang build. GCC and clang disagree slightly, |
6 | --exclude auto_tests \ | 6 | # so we arbitrarily choose the alphabetically first one for the report. |
7 | --exclude other \ | 7 | if [ "$CC" = "clang" ]; then |
8 | --exclude testing \ | 8 | coveralls \ |
9 | --gcov-options '\-lp' | 9 | --exclude auto_tests \ |
10 | --exclude other \ | ||
11 | --exclude testing \ | ||
12 | --gcov-options '\-lp' | ||
13 | fi | ||