From dad451af34254bc227c5612b8acac9a89c633842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 29 Mar 2019 23:17:27 +0100 Subject: [PATCH] core: send code coverage only with gcc, not with clang --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 83a91473d..9b2d0f225 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,11 @@ +dist: xenial +sudo: required language: c compiler: - gcc - clang -sudo: required -dist: xenial - env: - BUILDTOOL="cmake" BUILDARGS="" # - BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON" @@ -16,6 +15,12 @@ env: # - BUILDTOOL="autotools" BUILDARGS="--enable-python3" - BUILDTOOL="autotools" BUILDARGS="--disable-gnutls" +matrix: + fast_finish: true + exclude: + - compiler: clang + env: BUILDTOOL="cmake" BUILDARGS="-DENABLE_CODE_COVERAGE=ON" CODECOVERAGE="1" + before_script: # Workaround https://github.com/travis-ci/travis-ci/issues/5326 - export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g") @@ -44,6 +49,3 @@ after_success: - weechat --version - weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit" - if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi - -matrix: - fast_finish: true