Another rev of .travis.yml to see if we can tease Coverity scan into action.
This commit is contained in:
parent
819ce6c0d1
commit
b61f29c7ef
20
.travis.yml
20
.travis.yml
@ -35,35 +35,31 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
script:
|
# script:
|
||||||
- mkdir build
|
# - mkdir build
|
||||||
- cd build
|
# - cd build
|
||||||
- travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON ..
|
# - travis_wait 60 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../product -DBUILD_OSG_EXAMPLES=ON ..
|
||||||
- make install -j 3
|
# - 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:
|
addons:
|
||||||
|
|
||||||
coverity_scan:
|
coverity_scan:
|
||||||
|
|
||||||
# GitHub project metadata
|
# GitHub project metadata
|
||||||
# ** specific to your project **
|
# ** specific to your project **
|
||||||
project:
|
project:
|
||||||
name: openscenegraph/osg
|
name: openscenegraph/osg
|
||||||
description: OpenSceneGraph
|
description: OpenSceneGraph
|
||||||
version: 3.5.x
|
version: 3.5.x
|
||||||
|
|
||||||
# Where email notification of build analysis results will be sent
|
# Where email notification of build analysis results will be sent
|
||||||
notification_email: robert@openscenegraph.com
|
notification_email: robert@openscenegraph.com
|
||||||
|
|
||||||
# Commands to prepare for build_command
|
# Commands to prepare for build_command
|
||||||
# ** likely specific to your build **
|
# ** likely specific to your build **
|
||||||
build_command_prepend: cmake -DOSG_USE_AGGRESSIVE_WARNINGS=0 .
|
build_command_prepend: cmake -DCMAKE_BUILD_TYPE=Release -DOSG_USE_AGGRESSIVE_WARNINGS=0 .
|
||||||
|
|
||||||
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
|
# The command that will be added as an argument to "cov-build" to compile your project for analysis,
|
||||||
# ** likely specific to your build **
|
# ** likely specific to your build **
|
||||||
build_command: make -j 3
|
build_command: make -j 3
|
||||||
|
|
||||||
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
|
# Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'.
|
||||||
# Take care in resource usage, and consider the build frequency allowances per
|
# Take care in resource usage, and consider the build frequency allowances per
|
||||||
# https://scan.coverity.com/faq#frequency
|
# https://scan.coverity.com/faq#frequency
|
||||||
|
Loading…
Reference in New Issue
Block a user