summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-08-10 18:48:47 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-08-12 01:54:42 +0100
commitf7324f997be2c5115ed312f33dc26c1c935fab3e (patch)
treefb64b9c8ab0bdfb1e35390a96774ed5139a65847 /other
parentb5cfd33340a57f6056cc99c6f6555b10f0e82971 (diff)
Only report coverage on clang, not on the GCC build.
Diffstat (limited to 'other')
-rwxr-xr-xother/travis/toxcore-after_script14
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
3set -e -x 3set -e -x
4 4
5coveralls \ 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 \ 7if [ "$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'
13fi