From 4dd45375244954e7b2e310bb2983f031f3a5a3b8 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 6 Oct 2020 17:39:40 +0200 Subject: Travi CI Signed-off-by: Toni Uhlig --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..8f3bf7ad9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: c +before_install: +- sudo apt-get -qq update +- sudo apt-get install -y build-essential make binutils gcc autoconf automake libtool pkg-config git libpcap-dev libgcrypt-dev libgpg-error-dev +script: +- git clone https://github.com/ntop/nDPI.git +- cd nDPI && ./autogen.sh --with-sanitizer --with-only-libndpi && make install DESTDIR="$(realpath ./_install)" && cd .. +- make NDPI_WITH_GCRYPT=yes CUSTOM_LIBNDPI=./nDPI/_install/usr/local/lib/libndpi.a ENABLE_DEBUG=yes ENABLE_SANITIZER=yes all +- make clean +- make NDPI_WITH_GCRYPT=yes PKG_CONFIG_BIN=pkg-config PKG_CONFIG_PREFIX=./nDPI/_install/usr/local ENABLE_DEBUG=yes ENABLE_SANITIZER=yes all -- cgit v1.2.3