summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-11 19:40:25 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-09-11 20:23:44 +0200
commit6b5be9dfda321084dc2974e7adfd6749720643d4 (patch)
tree8e2e9cb92c42ba34cd131109cd0fb83adc5b7d3c
parent613e4bddaccedf6db21a8412c2100c3ecdc406e7 (diff)
downloadgnutls-6b5be9dfda321084dc2974e7adfd6749720643d4.tar.gz
.gitlab-ci.yml: the code-coverage command will always succeed
This works around random failures while calculating the code coverage.
-rw-r--r--.gitlab-ci.yml18
1 files changed, 12 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0628e12f9c..69fa68e983 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,8 @@ Fedora/x86_64/ubsan:
script:
- make autoreconf && CFLAGS="-fsanitize=undefined -fno-sanitize-recover -g -std=c99
-O2" LDFLAGS="-static-libubsan" ./configure --disable-doc --disable-valgrind-tests --disable-non-suiteb-curves --disable-guile --enable-code-coverage
- && make -j4 && make check -j4 && make local-code-coverage-output
+ && make -j4 && make check -j4
+ - make local-code-coverage-output || true
tags:
- shared
except:
@@ -39,7 +40,8 @@ Fedora/x86_64/no-SSL-3.0:
script:
- make autoreconf && mkdir -p build && cd build &&
../configure --disable-ssl3-support --disable-ssl2-support --disable-non-suiteb-curves --enable-seccomp-tests --disable-doc --disable-valgrind-tests --enable-code-coverage &&
- make -j4 && make check -j4 && make local-code-coverage-output
+ make -j4 && make check -j4
+ - make local-code-coverage-output || true
tags:
- shared
except:
@@ -99,7 +101,8 @@ Fedora/x86_64/FIPS140-2:
script:
- make autoreconf && mkdir -p build && cd build &&
../configure --disable-non-suiteb-curves --enable-fips140-mode --enable-code-coverage --disable-doc --disable-valgrind-tests &&
- make -j4 && make check -j4 && make local-code-coverage-output
+ make -j4 && make check -j4
+ - make local-code-coverage-output || true
tags:
- shared
except:
@@ -114,7 +117,8 @@ Fedora/x86_64/FIPS140-2:
Fedora/x86_64/valgrind:
script:
- make autoreconf && rm -f tests/suite/mini-eagain2.c && ./configure
- --disable-non-suiteb-curves --enable-code-coverage --disable-doc && make -j4 && make check -j4 && make local-code-coverage-output
+ --disable-non-suiteb-curves --enable-code-coverage --disable-doc && make -j4 && make check -j4
+ - make local-code-coverage-output || true
tags:
- shared
except:
@@ -130,7 +134,8 @@ Fedora/x86_64/asan:
script:
- 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
+ make -j4 && make check -j4
+ - make local-code-coverage-output || true
tags:
- shared
except:
@@ -284,7 +289,8 @@ Fedora/x86:
script:
- make autoreconf && mkdir -p build && cd build &&
../configure --build=i686-redhat-linux --target=i686-redhat-linux --disable-cxx --disable-non-suiteb-curves --enable-seccomp-tests --disable-doc --disable-valgrind-tests --enable-code-coverage &&
- make -j4 && make check -j4 && make local-code-coverage-output
+ make -j4 && make check -j4
+ - make local-code-coverage-output || true
tags:
- shared
except: