diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-29 18:04:50 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-04-29 18:06:21 +0200 |
commit | 754a98026825b6c3cf8022266f84aeebf57bda8d (patch) | |
tree | 015a3c504bcf3c5a45040f648d0627ea603f5286 /.gitlab-ci.yml | |
parent | 9424a727ab3a720103b3ab6161a9351ae8d40743 (diff) | |
download | gnutls-754a98026825b6c3cf8022266f84aeebf57bda8d.tar.gz |
.gitlab-ci.yml: added code coverage run
This enhances a test to print the code coverage of the test suite,
which in turn is being used/reported by gitlab CI interface.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1631c87370..33c278332e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,13 +12,14 @@ Compile minimal library: - linux except: - tags -Build and Check with asan: +Build and Check with asan and coverage run: script: - - make autoreconf && CFLAGS="-fsanitize=address -g - -O2" LDFLAGS="-static-libasan" ./configure --disable-doc --with-included-libtasn1 --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile - && make -j4 && make check -j4 + - make autoreconf && CFLAGS="-fsanitize=address -g -O2" LDFLAGS="-static-libasan" + ./configure --disable-doc --enable-code-coverage --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile && + make -j4 && make check -j4 && make local-code-coverage-output tags: - nettle3 + - lcov - linux except: - tags |