From 3cc6648938548ad513ce74ec9a15180cb0efd622 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 15 Jun 2016 11:42:01 +0100 Subject: [PATCH] Another attempt to resovle coverity_scan build issue --- .travis.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6dab86768..0d8d29069 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,21 +31,7 @@ matrix: - g++ - cmake - # OSX build - - os: osx - language: cpp - -# script: -# - mkdir build -# - cd build -# - travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON .. -# - make install -j 3 - -script: - - if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then mkdir build && cd build && travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON ../ && make -j3 ; fi - -addons: - coverity_scan: + coverity_scan: # GitHub project metadata # ** specific to your project ** project: @@ -64,3 +50,16 @@ addons: # Take care in resource usage, and consider the build frequency allowances per # https://scan.coverity.com/faq#frequency branch_pattern: coverity_scan + + # OSX build + - os: osx + language: cpp + +# script: +# - mkdir build +# - cd build +# - travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON .. +# - make install -j 3 + +script: + - if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then mkdir build && cd build && travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON ../ && make -j3 ; fi