summaryrefslogtreecommitdiff
path: root/deps/hiredis/.travis.yml
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-12-21 12:11:56 +0100
committerantirez <antirez@gmail.com>2016-12-21 12:12:36 +0100
commit6712bce92c79de5c2caa38e9b597a3fa52fd497f (patch)
tree1de4191534a6f7a0cb30f1efaee2a7af4fb334e0 /deps/hiredis/.travis.yml
parent0b7691201e255ed21a0fdf6779199de0d7c1498c (diff)
downloadredis-6712bce92c79de5c2caa38e9b597a3fa52fd497f.tar.gz
deps/hiredis updated to latest version.
Close #3687.
Diffstat (limited to 'deps/hiredis/.travis.yml')
-rw-r--r--deps/hiredis/.travis.yml35
1 files changed, 34 insertions, 1 deletions
diff --git a/deps/hiredis/.travis.yml b/deps/hiredis/.travis.yml
index 030427ff4..ad08076d8 100644
--- a/deps/hiredis/.travis.yml
+++ b/deps/hiredis/.travis.yml
@@ -1,6 +1,39 @@
language: c
+sudo: false
compiler:
- gcc
- clang
-script: make && make check
+os:
+ - linux
+ - osx
+
+before_script:
+ - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew update; brew install redis; fi
+
+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"
+
+matrix:
+ exclude:
+ - os: osx
+ env: PRE="valgrind --track-origins=yes --leak-check=full"
+
+ - os: osx
+ env: TARGET="32bit" TARGET_VARS="32bit-vars" PRE="valgrind --track-origins=yes --leak-check=full"
+
+script: make $TARGET CFLAGS="$CFLAGS" && make check PRE="$PRE" && make $TARGET_VARS hiredis-example