summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:55:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:55:53 +0000
commit3d0386f27ca66379acf50199e1d1298386eeeeb8 (patch)
treef87bd4a126b3a843858eb447e8fd5893c3ee3882 /.travis.yml
parentInitial commit. (diff)
downloadknot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.tar.xz
knot-resolver-3d0386f27ca66379acf50199e1d1298386eeeeb8.zip
Adding upstream version 3.2.1.upstream/3.2.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..4eac7a0
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,36 @@
+language: c
+os:
+ - osx
+addons:
+ homebrew:
+ packages:
+ - cmocka
+ - luajit
+ - libuv
+compiler:
+ - clang
+notifications:
+ email:
+ on_success: never
+ on_failure: never
+matrix:
+ fast_finish: true
+env:
+ global:
+ - KNOT_DNS_VERSION=v2.7.2
+ - DYLD_LIBRARY_PATH="${HOME}/.local/lib"
+ - MALLOC_CHECK_=3
+ - MALLOC_PERTURB_=223
+before_script:
+ - 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 ..
+script:
+ - CFLAGS="-O2 -g -fno-omit-frame-pointer -DDEBUG" make -j2 install check V=1 PREFIX=${HOME}/.local DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
+ - ./daemon/kresd -h
+ - ./daemon/kresd -V
+ - echo "quit()" | ./daemon/kresd -a 127.0.0.1@53535 .
+sudo: false