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 19:40:28 +0200
commit3b343ab149e6ff384190c66c3b87bbf120704955 (patch)
tree7f74c09bc78eea2e21a65a3ef19eaebe1302fa5f
parent815a28c045e300b779e2da61e19f69697b375a47 (diff)
downloadgnutls-syntax-check.tar.gz
.gitlab-ci.yml: the code-coverage command will always succeedsyntax-check
This works around random failures while calculating the code coverage.
-rw-r--r--.gitlab-ci.yml21
1 files changed, 14 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91ba2ed9fd..ebc8748fe2 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:
@@ -82,7 +84,8 @@ Fedora/x86_64/clang:
script:
- make autoreconf &&
CC=clang ./configure --disable-non-suiteb-curves --enable-seccomp-tests --disable-doc --disable-valgrind-tests &&
- make -j4 && make check -C tests -j4 && make local-code-coverage-output
+ make -j4 && make check -C tests -j4
+ - make local-code-coverage-output || true
tags:
- shared
except:
@@ -99,7 +102,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 +118,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 +135,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 +290,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: