hiredis/.travis.yml

46 lines
956 B
YAML
Raw Normal View History

2013-01-26 19:28:19 +00:00
language: c
sudo: false
2013-01-26 19:28:19 +00:00
compiler:
- gcc
- clang
2016-06-20 04:49:44 +00:00
os:
- linux
- osx
2017-11-07 08:26:02 +00:00
branches:
only:
- staging
- trying
- master
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
2015-01-22 20:31:43 +00:00
env:
- CFLAGS="-Werror"
2015-01-22 20:31:43 +00:00
- 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"
2015-01-22 20:31:43 +00:00
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