From: Ivan Maidanski Date: Mon, 24 Apr 2017 08:37:44 +0000 (+0300) Subject: Travis CI: Fix build_command for Coverity Scan X-Git-Tag: v7.6.0~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fd0719c6bccff3f2b0743282453cc497dff8035;p=libatomic_ops Travis CI: Fix build_command for Coverity Scan (fix commit 18f1ddd) --- diff --git a/.travis.yml b/.travis.yml index a3aa66e..8ca6ab2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,14 +8,16 @@ matrix: compiler: gcc - os: osx - os: linux + env: [ COVERITY_SCAN_BRANCH=1 ] addons: coverity_scan: project: name: ivmai/libatomic_ops version: 7.5.0 + description: The atomic_ops library branch_pattern: master - build_command_prepend: "./autogen.sh && ./configure" - build_command: "make -j check CFLAGS_EXTRA=-DLINT2" + build_command_prepend: ./configure + build_command: make -j check CFLAGS_EXTRA="-D LINT2 -march=native" - os: linux compiler: clang env: @@ -238,7 +240,7 @@ before_install: fi install: - - if [[ "$COVERITY_SCAN_BRANCH" != 1 ]]; then ./autogen.sh; fi + - ./autogen.sh - if [[ "$REPORT_COVERAGE" == true ]]; then gem install coveralls-lcov; fi