From: Ilya Shipitsin Date: Sat, 9 Nov 2019 12:13:49 +0000 (+0500) Subject: travis-ci: run coverity scan in separate cron task X-Git-Tag: v3.0.0~260 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=58a46b289d6b8df06072fc9c0304f4b2d3f4b051;p=openssl-gost%2Fengine.git travis-ci: run coverity scan in separate cron task --- diff --git a/.travis.yml b/.travis.yml index 9a9d10d..5a3ca21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,9 +30,17 @@ 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" + - env: COVERITY_SCAN_PROJECT_NAME="gost-engine" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="beldmit@gmail.com" COVERITY_SCAN_BUILD_COMMAND="make" + if: type == cron os: linux compiler: gcc + script: + - mkdir build + - cd build + - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines .. + - curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true + - os: linux + compiler: gcc - os: linux arch: arm64 compiler: gcc @@ -53,5 +61,5 @@ script: - mkdir build - cd build - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ${ASAN} .. - - 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 - make test CTEST_OUTPUT_ON_FAILURE=1