mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
🔨 adjusted Coverity script to work without Makefile
This commit is contained in:
parent
7b82e4b4c8
commit
c204ac82e0
16
.gitignore
vendored
16
.gitignore
vendored
@ -7,9 +7,8 @@ fuzz-testing
|
|||||||
*.gcno
|
*.gcno
|
||||||
*.gcda
|
*.gcda
|
||||||
|
|
||||||
ndk
|
|
||||||
build
|
build
|
||||||
working
|
build_coverage
|
||||||
|
|
||||||
doc/xml
|
doc/xml
|
||||||
doc/html
|
doc/html
|
||||||
@ -20,17 +19,4 @@ benchmarks/files/numbers/*.json
|
|||||||
.idea
|
.idea
|
||||||
cmake-build-debug
|
cmake-build-debug
|
||||||
|
|
||||||
|
|
||||||
test/test-*
|
test/test-*
|
||||||
.svn
|
|
||||||
|
|
||||||
test/thirdparty/Fuzzer/libFuzzer.a
|
|
||||||
|
|
||||||
test/parse_afl_fuzzer
|
|
||||||
|
|
||||||
test/parse_cbor_fuzzer
|
|
||||||
|
|
||||||
test/parse_msgpack_fuzzer
|
|
||||||
|
|
||||||
minibench
|
|
||||||
|
|
||||||
|
@ -105,8 +105,8 @@ matrix:
|
|||||||
name: "nlohmann/json"
|
name: "nlohmann/json"
|
||||||
description: "Build submitted via Travis CI"
|
description: "Build submitted via Travis CI"
|
||||||
notification_email: niels.lohmann@gmail.com
|
notification_email: niels.lohmann@gmail.com
|
||||||
build_command_prepend: "make clean"
|
build_command_prepend: "mkdir coverity_build ; cd coverity_build ; cmake .. ; cd .."
|
||||||
build_command: "make"
|
build_command: "make -C coverity_build"
|
||||||
branch_pattern: coverity_scan
|
branch_pattern: coverity_scan
|
||||||
env:
|
env:
|
||||||
- SPECIAL=coverity
|
- SPECIAL=coverity
|
||||||
@ -252,7 +252,7 @@ matrix:
|
|||||||
################
|
################
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# get CMake (only for systems with brew - macOS)
|
# get CMake and Ninja (only for systems with brew - macOS)
|
||||||
- |
|
- |
|
||||||
if [[ (-x $(which brew)) ]]; then
|
if [[ (-x $(which brew)) ]]; then
|
||||||
brew update
|
brew update
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "catch.hpp"
|
|
||||||
|
|
||||||
#define private public
|
|
||||||
#include "json.hpp"
|
|
||||||
using nlohmann::json;
|
|
Loading…
Reference in New Issue
Block a user