.travis.yml 987 Bytes
Newer Older
1 2 3
language: c
os:
    - osx
Tomas Krizek's avatar
Tomas Krizek committed
4 5 6 7 8 9
addons:
    homebrew:
        packages:
            - cmocka
            - luajit
            - libuv
10 11 12 13
compiler:
    - clang
notifications:
    email:
14 15
        on_success: never
        on_failure: never
16 17 18 19
matrix:
    fast_finish: true
env:
    global:
Tomas Krizek's avatar
Tomas Krizek committed
20
        - KNOT_DNS_VERSION=v2.7.2
21 22 23 24
        - DYLD_LIBRARY_PATH="${HOME}/.local/lib"
        - MALLOC_CHECK_=3
        - MALLOC_PERTURB_=223
before_script:
Tomas Krizek's avatar
Tomas Krizek committed
25 26 27 28 29 30
    - git clone -b ${KNOT_DNS_VERSION} https://gitlab.labs.nic.cz/knot/knot-dns.git
    - cd knot-dns
    - autoreconf -fi
    - ./configure --disable-static --disable-fastparser --disable-documentation --disable-daemon --disable-utilities --with-lmdb=no
    - make -j2 install
    - cd ..
31
script:
32
    - CFLAGS="-O2 -g -fno-omit-frame-pointer -DDEBUG" make -j2 install check V=1 PREFIX=${HOME}/.local DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
33 34
    - ./daemon/kresd -h
    - ./daemon/kresd -V
35
    - echo "quit()" | ./daemon/kresd -a 127.0.0.1@53535 .
36
sudo: false