Commit 91dfc723 authored by Niels's avatar Niels

added coverity_scan

parent 7bdfde44
...@@ -3,6 +3,12 @@ language: cpp ...@@ -3,6 +3,12 @@ language: cpp
dist: trusty dist: trusty
sudo: required sudo: required
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "m89SSgE+ASLO38rSKx7MTXK3n5NkP9bIx95jwY71YEiuFzib30PDJ/DifKnXxBjvy/AkCGztErQRk/8ZCvq+4HXozU2knEGnL/RUitvlwbhzfh2D4lmS3BvWBGS3N3NewoPBrRmdcvnT0xjOGXxtZaJ3P74TkB9GBnlz/HmKORA="
# from http://stackoverflow.com/a/32127147/266378 # from http://stackoverflow.com/a/32127147/266378
matrix: matrix:
include: include:
...@@ -21,6 +27,15 @@ matrix: ...@@ -21,6 +27,15 @@ matrix:
- ./json_unit "*" - ./json_unit "*"
- coveralls --exclude test/src/catch.hpp --exclude test/src/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9' - coveralls --exclude test/src/catch.hpp --exclude test/src/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9'
env: COMPILER=g++-4.9 env: COMPILER=g++-4.9
addons:
coverity_scan:
project:
name: "nlohmann/json"
description: "Build submitted via Travis CI"
notification_email: niels.lohmann@gmail.com
build_command_prepend: "make clean"
build_command: "make doctest"
branch_pattern: coverity_scan
- os: linux - os: linux
compiler: gcc compiler: gcc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment