Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
d2564c61
Commit
d2564c61
authored
Aug 18, 2016
by
Niels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added cppcheck target for travis
parent
039cedaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
.travis.yml
.travis.yml
+14
-0
Makefile
Makefile
+1
-2
No files found.
.travis.yml
View file @
d2564c61
...
@@ -41,6 +41,20 @@ matrix:
...
@@ -41,6 +41,20 @@ matrix:
after_success
:
after_success
:
-
valgrind --error-exitcode=1 --leak-check=full test/json_unit
-
valgrind --error-exitcode=1 --leak-check=full test/json_unit
# cppcheck
-
os
:
linux
compiler
:
gcc
env
:
-
COMPILER=g++-4.9
-
SPECIAL=cppcheck
addons
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
g++-4.9
,
cppcheck
]
after_success
:
-
make cppcheck
# Coveralls (http://gronlier.fr/blog/2015/01/adding-code-coverage-to-your-c-project/)
# Coveralls (http://gronlier.fr/blog/2015/01/adding-code-coverage-to-your-c-project/)
-
os
:
linux
-
os
:
linux
...
...
Makefile
View file @
d2564c61
...
@@ -64,8 +64,7 @@ fuzz: test/src/fuzz.cpp src/json.hpp
...
@@ -64,8 +64,7 @@ fuzz: test/src/fuzz.cpp src/json.hpp
# call cppcheck on the main header file
# call cppcheck on the main header file
cppcheck
:
cppcheck
:
cppcheck
--enable
=
all
--inconclusive
--std
=
c++11 src/json.hpp
cppcheck
--enable
=
warning
--inconclusive
--force
--std
=
c++11 src/json.hpp
--error-exitcode
=
1
##########################################################################
##########################################################################
# maintainer targets
# maintainer targets
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment