diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-03-29 23:17:27 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-03-29 23:17:27 +0100 |
commit | dad451af34254bc227c5612b8acac9a89c633842 (patch) | |
tree | 23ee54ab2a405b5271ebdd7aacb92b0bcf9396cf | |
parent | 3f80ae0ee86383c769b1775ef6c5cd621753f0a7 (diff) | |
download | weechat-dad451af34254bc227c5612b8acac9a89c633842.zip |
core: send code coverage only with gcc, not with clang
-rw-r--r-- | .travis.yml | 14 |
1 files 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 |