From: Ilya Shipitsin Date: Fri, 2 Aug 2019 17:59:03 +0000 (+0500) Subject: BUILD: travis-ci: enable daily Coverity scan X-Git-Tag: v2.1-dev2~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b77262cfb73b82ea96cf5fda234fed3ba112c26;p=thirdparty%2Fhaproxy.git BUILD: travis-ci: enable daily Coverity scan Coverity scan takes some time, also we are limited to 3 scans per day. So, running it once a day seem to be good idea. --- diff --git a/.travis.yml b/.travis.yml index c1d7b2d11a..bf4e9d3cd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,39 +23,61 @@ cache: matrix: include: - os: linux + if: type != cron compiler: gcc env: TARGET=linux-glibc FIFTYONEDEGREES_SRC="contrib/51d/src/trie" - os: linux-ppc64le + if: type != cron compiler: gcc env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1c LABEL="linux-ppc64le" - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1c - os: linux + if: type == cron + compiler: clang + env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1c COVERITY_SCAN_PROJECT_NAME="Haproxy" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="chipitsine@gmail.com" COVERITY_SCAN_BUILD_COMMAND="make CC=clang TARGET=$TARGET $FLAGS 51DEGREES_SRC=$FIFTYONEDEGREES_SRC" + script: + - | + if [ ! -z ${COVERITY_SCAN_TOKEN+x} ]; then + make -C contrib/wurfl + curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true + fi + - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc OPENSSL_VERSION=1.1.0j - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc OPENSSL_VERSION=1.0.2r - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc LIBRESSL_VERSION=2.9.2 - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc LIBRESSL_VERSION=2.8.3 - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc LIBRESSL_VERSION=2.7.5 EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc BORINGSSL=yes - os: linux + if: type != cron compiler: clang env: TARGET=linux-glibc FLAGS= - os: osx + if: type != cron compiler: clang env: TARGET=osx FLAGS="USE_OPENSSL=1" OPENSSL_VERSION=1.1.1c - os: windows + if: type != cron install: - choco install bash make libssl-devel cygwin-devel gcc-core libgcc1 binutils lua-devel libpcre-devel zlib-devel --source cygwin script: