.travis.yml 1.05 KB
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
Tomas Krizek's avatar
Tomas Krizek committed
10
            - lmdb
11 12
            - meson
        update: true
13 14 15 16
compiler:
    - clang
notifications:
    email:
17 18
        on_success: never
        on_failure: never
19 20 21 22
matrix:
    fast_finish: true
env:
    global:
Tomas Krizek's avatar
Tomas Krizek committed
23
        - KNOT_DNS_VERSION=v2.7.6
24 25 26
        - MALLOC_CHECK_=3
        - MALLOC_PERTURB_=223
before_script:
Tomas Krizek's avatar
Tomas Krizek committed
27 28 29 30 31 32
    - 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 ..
33
script:
34 35 36 37 38
    - meson build_darwin --default-library=static --buildtype=debugoptimized --prefix=${HOME}/.local -Dc_args='-fno-omit-frame-pointer'
    - ninja -C build_darwin install
    - ${HOME}/.local/usr/sbin/kresd -h
    - ${HOME}/.local/usr/sbin/kresd -V
    - echo "quit()" | ${HOME}/.local/usr/sbin/kresd -a 127.0.0.1@53535 .
39
sudo: false