From: Ilya Shipitsin Date: Thu, 17 Oct 2019 13:45:38 +0000 (+0500) Subject: travis-ci: enable coverity scan X-Git-Tag: v3.0.0~263^2^2 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F183%2Fhead;p=openssl-gost%2Fengine.git travis-ci: enable coverity scan --- diff --git a/.travis.yml b/.travis.yml index d769510..30ad2f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,10 +30,12 @@ matrix: - env: ASAN=-DASAN=1 os: linux compiler: gcc + - env: RUN_COVERITY=1 COVERITY_SCAN_PROJECT_NAME="gost-engine" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="beldmit@gmail.com" COVERITY_SCAN_BUILD_COMMAND="make" + os: linux + compiler: gcc - os: osx compiler: clang - before_script: - curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus - sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1) @@ -48,5 +50,5 @@ script: - mkdir build - cd build - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ${ASAN} .. - - make + - if [ ! -z ${COVERITY_SCAN_TOKEN+x} -a "${RUN_COVERITY}" = "1" ]; then curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true; else make; fi - make test CTEST_OUTPUT_ON_FAILURE=1