Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
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
lvzhengyang
git2
Commits
243ee6c6
Commit
243ee6c6
authored
Apr 20, 2018
by
Etienne Samson
Committed by
Patrick Steinhardt
Oct 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: split valgrind check in its own script
(cherry picked from commit
74b0a432
)
parent
e42f8f73
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
.travis.yml
+1
-4
script/cileaks.sh
+13
-0
No files found.
.travis.yml
View file @
243ee6c6
...
...
@@ -66,10 +66,7 @@ install:
script
:
-
script/cibuild.sh
-
script/citest.sh
# Run Tests
after_success
:
-
if [ "$TRAVIS_OS_NAME" = "linux" -a -n "$VALGRIND" ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=./libgit2_clar.supp _build/libgit2_clar -ionline; fi
-
script/cileaks.sh
# Only watch the development and master branches
branches
:
...
...
script/cileaks.sh
0 → 100755
View file @
243ee6c6
#!/bin/sh
set
-x
# If this platform doesn't support test execution, bail out now
if
[
-n
"
$SKIP_TESTS
"
]
;
then
exit
$?
;
fi
if
[
-n
"
$VALGRIND
"
-a
-e
"
$(
which valgrind
)
"
]
;
then
valgrind
--leak-check
=
full
--show-reachable
=
yes
--error-exitcode
=
125
--suppressions
=
./libgit2_clar.supp _build/libgit2_clar
$@
-ionline
fi
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