From dcc9b9f9bea3a6872298c611d8b02b100fbe99fe Mon Sep 17 00:00:00 2001 From: Jordi Torres Date: Thu, 16 Jun 2016 12:55:27 +0200 Subject: [PATCH 1/2] Modified coverity build command to avoid creating dirs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 38f4402c0..1355c6146 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ matrix: name: "openscenegraph/OpenSceneGraph" description: "OpenSceneGraph" notification_email: robert@openscenegraph.com - build_command_prepend: "mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DOSG_USE_AGGRESSIVE_WARNINGS=0 .." + build_command_prepend: "cmake -DCMAKE_BUILD_TYPE=Release ." build_command: "make -j 3" branch_pattern: coverity_scan From 44609e903cd9fc46ea086b8767d1f06954f741ec Mon Sep 17 00:00:00 2001 From: Jordi Torres Date: Thu, 16 Jun 2016 14:15:37 +0200 Subject: [PATCH 2/2] Add coverity scan badge --- .travis.yml | 7 +++---- README.md | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1355c6146..d3bb883ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,17 +20,16 @@ matrix: - $HOME/.ccache compiler: #- clang - - g++ + - gcc addons: coverity_scan: project: name: "openscenegraph/OpenSceneGraph" - description: "OpenSceneGraph" - notification_email: robert@openscenegraph.com + description: "OpenSceneGraph build" + notification_email: robert@openscenegraph.com build_command_prepend: "cmake -DCMAKE_BUILD_TYPE=Release ." build_command: "make -j 3" branch_pattern: coverity_scan - apt: sources: #- llvm-toolchain-precise-3.8 diff --git a/README.md b/README.md index 69c4940dd..8e9780cbf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/openscenegraph/OpenSceneGraph.svg?branch=master)](https://travis-ci.org/openscenegraph/OpenSceneGraph) +[![Coverity Status](https://scan.coverity.com/projects/9159/badge.svg)](https://scan.coverity.com/projects/openscenegraph-openscenegraph) ### Introduction