Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
pistache
Commits
16f7aa84
Commit
16f7aa84
authored
Feb 18, 2019
by
Arthur de Araújo Farias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding cppcheck
parent
edf7a65a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
.travis.yml
.travis.yml
+10
-10
CMakeLists.txt
CMakeLists.txt
+1
-0
No files found.
.travis.yml
View file @
16f7aa84
...
@@ -19,7 +19,7 @@ matrix:
...
@@ -19,7 +19,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-4.0'
]
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-4.0'
]
packages
:
[
'
cmake'
,
'
clang-4.0'
,
'
llvm-4.0-tools'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
cmake'
,
'
clang-4.0'
,
'
llvm-4.0-tools'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
-
os
:
linux
-
os
:
linux
compiler
:
clang
compiler
:
clang
...
@@ -30,7 +30,7 @@ matrix:
...
@@ -30,7 +30,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-5.0'
]
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-5.0'
]
packages
:
[
'
cmake'
,
'
clang-5.0'
,
'
llvm-5.0-tools'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
cmake'
,
'
clang-5.0'
,
'
llvm-5.0-tools'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
-
os
:
linux
-
os
:
linux
compiler
:
clang
compiler
:
clang
...
@@ -41,7 +41,7 @@ matrix:
...
@@ -41,7 +41,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-6.0'
]
sources
:
[
'
ubuntu-toolchain-r-test'
,
'
llvm-toolchain-trusty-6.0'
]
packages
:
[
'
cmake'
,
'
clang-6.0'
,
'
llvm-6.0-tools'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
cmake'
,
'
clang-6.0'
,
'
llvm-6.0-tools'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
# Linux GCC builds
# Linux GCC builds
-
os
:
linux
-
os
:
linux
...
@@ -53,7 +53,7 @@ matrix:
...
@@ -53,7 +53,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-4.9'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
g++-4.9'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -64,7 +64,7 @@ matrix:
...
@@ -64,7 +64,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-5'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
g++-5'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -75,7 +75,7 @@ matrix:
...
@@ -75,7 +75,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-6'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
g++-6'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -86,7 +86,7 @@ matrix:
...
@@ -86,7 +86,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-7'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
g++-7'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -97,7 +97,7 @@ matrix:
...
@@ -97,7 +97,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-8'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
]
packages
:
[
'
g++-8'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
,
'
lcov'
,
'
cppcheck'
]
install
:
install
:
-
DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
-
DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
...
@@ -133,11 +133,11 @@ before_script:
...
@@ -133,11 +133,11 @@ before_script:
-DPISTACHE_SSL=true
-DPISTACHE_SSL=true
script
:
script
:
-
# Debug build
# Debug build
-
cd Build-Debug
-
cd Build-Debug
-
make -j 2 all test ARGS="-V"
-
make -j 2 all test ARGS="-V"
-
# Release build
# Release build
-
cd ../Build-Release
-
cd ../Build-Release
-
make -j
2
-
make -j
2
...
...
CMakeLists.txt
View file @
16f7aa84
...
@@ -9,6 +9,7 @@ endif()
...
@@ -9,6 +9,7 @@ endif()
if
(
CMAKE_BUILD_TYPE MATCHES
"Debug"
)
if
(
CMAKE_BUILD_TYPE MATCHES
"Debug"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-g -O0 -fprofile-arcs -ftest-coverage"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-g -O0 -fprofile-arcs -ftest-coverage"
)
set
(
CMAKE_CXX_CPPCHECK
"cppcheck"
)
endif
()
endif
()
...
...
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