summaryrefslogtreecommitdiff
path: root/other/travis/toxcore-after_script
blob: faa0d7a5112f0ba8397da49fe7756710594c3cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e -u -x
. other/travis/env-$ENV.sh

# Only submit coverage from the clang build. GCC and clang disagree slightly,
# so we arbitrarily choose the alphabetically first one for the report.
if [ "$CC" = "clang" ]; then
  coveralls               \
    --exclude auto_tests  \
    --exclude other       \
    --exclude testing     \
    --gcov-options '\-lp'
fi