From 3bc1260804b987d5d912ccc9c3c164c4b6dade56 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 13 Oct 2020 17:35:44 +0200 Subject: [PATCH] testing: provide coverage build for comparison --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 03cf473f..0b9e45e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ compiler: env: - BUILD=Release SASL=false - - BUILD=Debug SASL=true PREFIX=/opt PORT=11212 MC_VERSION=1.5.22 + - BUILD=Debug SASL=true PREFIX=/opt PORT=11212 MC_VERSION=1.5.22 CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" - BUILD=Debug SASL=false PREFIX=/opt PORT=11212 MC_VERSION=1.6.6 #before_install: @@ -45,7 +45,12 @@ script: - make install DESTDIR=. #before_cache: -#after_success: +after_success: + - | + if test "$CFLAGS" = "-O0 --coverage"; + then + bash <(curl -s https://codecov.io/bash) + fi after_failure: - cat Testing/Temporary/LastTest.log -- 2.30.2