Skip to content

Commit bb00074

Browse files
committed
Removed coverage tracking.
Coverage output is relevant only for unittests, where it is guaranteed that the covered code is tested sufficiently. The acceptance testing scripts don't provide any reasonable indication that the code they execute is correct.
1 parent 2565678 commit bb00074

File tree

3 files changed

+2
-122
lines changed

3 files changed

+2
-122
lines changed

.travis.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,16 @@ before_install:
77
language: c
88

99
before_script:
10-
- export CC=gcc-7 GCOV=gcov-7
1110
- ./autogen.sh
1211
- mkdir build
1312
- cd build
1413

1514
script:
16-
- ../configure CFLAGS="--coverage -ftest-coverage -fprofile-arcs" LDFLAGS=-lgcov --enable-debug
15+
- ../configure --enable-sce
1716
- build-wrapper-linux-x86-64 --out-dir bw-output make all || true # Will always fail builds on forked repositories.
18-
- make -k check VERBOSE=true || { test "$SEND_COVERAGE_EVEN_IF_TESTS_FAIL" = yes && curl -s https://codecov.io/bash > cov.sh && bash cov.sh -x "$GCOV"; }
19-
- bash ../tests/recursively_generate_gcov.sh . || true # Failures that occur here are harmless
17+
- make -k check VERBOSE=true
2018
- cd .. && sonar-scanner || true # Will always fail builds on forked repositories.
2119

22-
after_success:
23-
- curl -s https://codecov.io/bash > cov.sh && bash cov.sh -x "$GCOV"
2420

2521
addons:
2622
sonarcloud:

sonar-project.properties

-2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ sonar.sources=src
1010

1111
# Encoding of the source code. Default is default system encoding
1212
#sonar.sourceEncoding=UTF-8
13-
14-
sonar.cfamily.gcov.reportsPath=build

tests/recursively_generate_gcov.sh

-114
This file was deleted.

0 commit comments

Comments
 (0)