From 8fd0719c6bccff3f2b0743282453cc497dff8035 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Mon, 24 Apr 2017 11:37:44 +0300 Subject: [PATCH] Travis CI: Fix build_command for Coverity Scan (fix commit 18f1ddd) --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.50.1