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
a9a0af1d
Commit
a9a0af1d
authored
Jul 27, 2015
by
Jan-Erik Rediger
Browse files
Use container-based Travis by installing packages through the addon
parent
36a9802c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
a9a0af1d
language
:
c
sudo
:
false
compiler
:
-
gcc
-
clang
addons
:
apt
:
packages
:
-
libc6-dbg
-
libc6-dev
-
libc6:i386
-
libc6-dev-i386
-
libc6-dbg:i386
-
gcc-multilib
-
valgrind
env
:
-
CFLAGS="-Werror"
-
PRE="valgrind --track-origins=yes --leak-check=full"
-
TARGET="32bit" TARGET_VARS="32bit-vars" CFLAGS="-Werror"
-
TARGET="32bit" TARGET_VARS="32bit-vars" PRE="valgrind --track-origins=yes --leak-check=full"
install
:
-
sudo apt-get update -qq
-
sudo apt-get install libc6-dbg libc6-dev libc6-i686:i386 libc6-dev-i386 libc6-dbg:i386 valgrind -y
script
:
make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE" && make $TARGET_VARS hiredis-example
Makefile
View file @
a9a0af1d
...
...
@@ -215,4 +215,4 @@ coverage: gcov
noopt
:
$(MAKE)
OPTIMIZATION
=
""
.PHONY
:
all test check clean dep install 32bit gprof gcov noopt
.PHONY
:
all test check clean dep install 32bit
32bit-vars
gprof gcov noopt
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