summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 1df63b0b554b93d8c052cd931c6019de351288f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: c
compiler:
  - gcc
  - clang

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