another try for coverity-scan

This commit is contained in:
Niels 2016-05-29 12:15:13 +02:00
parent 91dfc723be
commit 1cc77a5fe5

View file

@ -27,15 +27,6 @@ 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
@ -131,3 +122,13 @@ script:
- if [ `which valgrind` ]; then - if [ `which valgrind` ]; then
valgrind --error-exitcode=1 --leak-check=full ./json_unit ; valgrind --error-exitcode=1 --leak-check=full ./json_unit ;
fi fi
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