Skip to content

Commit

Permalink
Another attempt to resovle coverity_scan build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Jun 15, 2016
1 parent b61f29c commit 3cc6648
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 3cc6648

Please sign in to comment.