Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
1f391e11
Commit
1f391e11
authored
6 years ago
by
kongr45gpen
Browse files
Options
Downloads
Patches
Plain Diff
Move continous integration to separate .sh files
parent
2335fff4
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
ci/clang-tidy.sh
+11
-0
11 additions, 0 deletions
ci/clang-tidy.sh
ci/cppcheck.sh
+11
-0
11 additions, 0 deletions
ci/cppcheck.sh
ci/vera.sh
+11
-0
11 additions, 0 deletions
ci/vera.sh
with
36 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
1f391e11
...
...
@@ -17,12 +17,12 @@ build:
cppcheck
:
script
:
-
cppcheck --enable=all --error-exitcode=1 -I inc src
-
bash -x ci/cppcheck.sh
vera
:
script
:
-
vera++ --error --profile custom `find src inc -type f -regextype posix-egrep -regex '.*\.(cpp|hpp|c|h)'`
-
bash -x ci/vera.sh
clang-tidy
:
script
:
-
cd ci && clang-tidy `find ../src/ -type f -regextype posix-egrep -regex '.*\.(cpp|hpp|c|h)'` -- -std=c++11 -I../inc
-
bash -x ci/clang-tidy.sh
This diff is collapsed.
Click to expand it.
ci/clang-tidy.sh
0 → 100755
+
11
−
0
View file @
1f391e11
#!/usr/bin/env bash
#
# Code style checks using clang-tidy
#
# Usage:
# $ ci/clang-tidy.sh
#
cd
"
$(
dirname
"
$0
"
)
"
clang-tidy
`
find ../src/
-type
f
-regextype
posix-egrep
-regex
'.*\.(cpp|hpp|c|h)'
`
--
-std
=
c++11
-I
../inc
This diff is collapsed.
Click to expand it.
ci/cppcheck.sh
0 → 100755
+
11
−
0
View file @
1f391e11
#!/usr/bin/env bash
#
# Static code analysis using cppchecl
#
# Usage:
# $ ci/cppcheck.sh
#
cd
"
$(
dirname
"
$0
"
)
/.."
cppcheck
--enable
=
all
--error-exitcode
=
1
-I
inc src
This diff is collapsed.
Click to expand it.
ci/vera.sh
0 → 100755
+
11
−
0
View file @
1f391e11
#!/usr/bin/env bash
#
# Code style checks using vera++
#
# Usage:
# $ ci/vera.sh
#
cd
"
$(
dirname
"
$0
"
)
/.."
vera++
--error
--profile
custom
`
find src inc
-type
f
-regextype
posix-egrep
-regex
'.*\.(cpp|hpp|c|h)'
`
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment