From 518a21fcb265d0e39097a09093ca1d78b84fae83 Mon Sep 17 00:00:00 2001 From: Borislav Stanimirov Date: Thu, 5 May 2016 17:29:22 +0300 Subject: [PATCH] Added coverity integration --- .travis.yml | 8 ++++++++ README.md | 1 + 2 files changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index a4c8b58..5f5b2d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ git: env: global: - CMAKE_OPTIONS_GLOBAL="-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" + # COVERALLS_REPO_TOKEN added as env var in travis project - COVERALLS_SERVICE_NAME=travis-ci compiler: @@ -21,6 +22,13 @@ os: linux addons: apt: packages: ["lcov", "curl"] + coverity_scan: + # COVERITY_SCAN_TOKEN added as env var in travis project + project: + name: iboB/mathgp + notification_email: b.stanimirov@abv.bg + build_command_prepend: cd test/unit_test && cmake . + build_command: make script: # initial run with options diff --git a/README.md b/README.md index b0f5cbc..508cbaa 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,4 @@ A simple mathematical library for game programming. * GCC/clang: [![GCC/clang](https://travis-ci.org/iboB/mathgp.svg?branch=master)](https://travis-ci.org/iboB/mathgp) * MSVC: [![MSVC](https://ci.appveyor.com/api/projects/status/x63tku34p1ep8wx0/branch/master?svg=true)](https://ci.appveyor.com/project/iboB/mathgp/branch/master) * Coveralls: [![Coverage Status](https://coveralls.io/repos/github/iboB/mathgp/badge.svg?branch=master)](https://coveralls.io/github/iboB/mathgp?branch=master) +* Coverity: [![Static analysis](https://scan.coverity.com/projects/8774/badge.svg)](https://scan.coverity.com/projects/ibob-mathgp)