]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: test json-c support in lldpcli as well
authorVincent Bernat <vincent@bernat.im>
Thu, 19 May 2016 18:09:11 +0000 (20:09 +0200)
committerVincent Bernat <vincent@bernat.im>
Thu, 19 May 2016 18:11:24 +0000 (20:11 +0200)
.travis.yml
tests/ci/install.sh

index 42fb859498e7a1d849d41afbed0d05c578de8d6c..e35746e1fd69c065f3737d6658803812bdbbeeb9 100644 (file)
@@ -16,6 +16,7 @@ env:
     - LLDPD_CONFIG_ARGS="--with-snmp --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
     - LLDPD_CONFIG_ARGS="--enable-oldies"
     - LLDPD_CONFIG_ARGS="--with-seccomp"
+    - LLDPD_CONFIG_ARGS="--with-json=json-c"
 matrix:
   include:
     - os: linux
index b73cabedd145d6c40b124850a39b16a755630072..0b4063ce88ed9fecbbe18cee3c38553e668edc39 100755 (executable)
@@ -14,7 +14,7 @@ case "$(uname -s)" in
         sudo apt-get -qqy update
         sudo apt-get -qqy install \
             automake autoconf libtool pkg-config \
-            libsnmp-dev libxml2-dev libjansson-dev \
+            libsnmp-dev libxml2-dev libjansson-dev libjson-c-dev \
             libevent-dev libreadline-dev libbsd-dev \
             check libc6-dbg libevent-dbg libseccomp-dev
         [ $CC != gcc ] || \