]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - .travis.yml
lldp: attach remote TTL to port instead of chassis
[thirdparty/lldpd.git] / .travis.yml
index 479fa40899912f4c0cc2254dbc80fe63dc98868a..1ba6ca11cba4df116fe67a312e28a30cfd2114f4 100644 (file)
@@ -1,16 +1,26 @@
 language: c
-os:
-  - linux
-  - osx
-compiler:
-  - clang
-  - gcc
+os: linux
+dist: trusty
+compiler: gcc
+sudo: require
 install:
-  - ./.travis/install.sh
+  - ./tests/ci/install.sh
 script:
-  - ./.travis/run.sh
+  - ./tests/ci/run.sh
 env:
-  - LLDPD_CONFIG_ARGS=""
-  - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
-  - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
-  - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json --disable-lldpmed --disable-dot1 --disable-dot3"
+  matrix:
+    - LLDPD_CONFIG_ARGS=""
+    - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
+    - LLDPD_CONFIG_ARGS="--disable-shared --enable-static"
+    - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
+    - LLDPD_CONFIG_ARGS="--with-snmp --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
+    - LLDPD_CONFIG_ARGS="--enable-oldies"
+    - LLDPD_CONFIG_ARGS="--with-seccomp"
+matrix:
+  include:
+    - os: linux
+      compiler: clang
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
+    - os: osx
+      compiler: clang
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"