From: Michael Wallner Date: Tue, 13 Oct 2020 15:35:44 +0000 (+0200) Subject: testing: provide coverage build for comparison X-Git-Tag: 1.1.0-beta1~237 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3bc1260804b987d5d912ccc9c3c164c4b6dade56;p=awesomized%2Flibmemcached testing: provide coverage build for comparison --- 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