Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
dd680fcc
Commit
dd680fcc
authored
Jan 22, 2015
by
Matt Stancliff
Browse files
Add valgrind to TravisCI testing
parent
3c023ee1
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
dd680fcc
...
...
@@ -3,4 +3,11 @@ compiler:
-
gcc
-
clang
script
:
make && make check
env
:
-
PRE=""
-
PRE="valgrind --track-origins=yes --leak-check=full"
install
:
-
sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y
script
:
make && make check PRE="$PRE"
Makefile
View file @
dd680fcc
...
...
@@ -128,7 +128,7 @@ test: hiredis-test
check
:
hiredis-test
@
echo
"
$$
REDIS_TEST_CONFIG"
|
$(REDIS_SERVER)
-
./hiredis-test
-h
127.0.0.1
-p
$(REDIS_PORT)
-s
/tmp/hiredis-test-redis.sock
||
\
$(PRE)
./hiredis-test
-h
127.0.0.1
-p
$(REDIS_PORT)
-s
/tmp/hiredis-test-redis.sock
||
\
(
kill
`
cat
/tmp/hiredis-test-redis.pid
`
&&
false
)
kill
`
cat
/tmp/hiredis-test-redis.pid
`
...
...
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