Skip to content

Commit

Permalink
Merge pull request OpenSCAP#1292 from matejak/remove-cov
Browse files Browse the repository at this point in the history
Removed coverage tracking and Travis tests
  • Loading branch information
jan-cerny authored Jan 22, 2019
2 parents c3eab03 + c028ac3 commit dcd084d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 122 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ before_install:
language: c

before_script:
- export CC=gcc-7 GCOV=gcov-7
- ./autogen.sh
- mkdir build
- cd build

script:
- ../configure CFLAGS="--coverage -ftest-coverage -fprofile-arcs" LDFLAGS=-lgcov --enable-debug
- ../configure --enable-sce
- build-wrapper-linux-x86-64 --out-dir bw-output make all || true # Will always fail builds on forked repositories.
- 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"; }
- bash ../tests/recursively_generate_gcov.sh . || true # Failures that occur here are harmless
- cd .. && sonar-scanner || true # Will always fail builds on forked repositories.

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

addons:
sonarcloud:
Expand Down
2 changes: 0 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ sonar.sources=src

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

sonar.cfamily.gcov.reportsPath=build
114 changes: 0 additions & 114 deletions tests/recursively_generate_gcov.sh

This file was deleted.

0 comments on commit dcd084d

Please sign in to comment.