diff options
author | Ilya Shipitsin <chipitsine@gmail.com> | 2019-11-09 17:13:49 +0500 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2019-11-09 21:03:26 +0300 |
commit | 58a46b289d6b8df06072fc9c0304f4b2d3f4b051 (patch) | |
tree | 0aece7f0ba8cc511e4b1589cf066affad4be44d1 | |
parent | d47b346150868622f42178994fc26f799a80410a (diff) | |
download | gost-engine-58a46b289d6b8df06072fc9c0304f4b2d3f4b051.zip gost-engine-58a46b289d6b8df06072fc9c0304f4b2d3f4b051.tar.gz gost-engine-58a46b289d6b8df06072fc9c0304f4b2d3f4b051.tar.bz2 |
travis-ci: run coverity scan in separate cron task
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 10 insertions, 2 deletions
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 |