]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - .travis.yml
client: display current MAU type even when autoneg is disabled
[thirdparty/lldpd.git] / .travis.yml
index 3c1f0d86e82557597d4ffffb3a5a9793b91254e6..e35746e1fd69c065f3737d6658803812bdbbeeb9 100644 (file)
@@ -1,13 +1,27 @@
-language: "python"
-before_script: "sudo aptitude -y -q install libsnmp-dev libxml2-dev automake autoconf libtool"
-script: "./autogen.sh && ./configure && make && make check"
+language: c
+os: linux
+dist: trusty
+compiler: gcc
+sudo: require
+install:
+  - ./tests/ci/install.sh
+script:
+  - ./tests/ci/run.sh
 env:
-  - LLDPD_CONFIG_ARGS=""
-  - LLDPD_CONFIG_ARGS="--disable-lldpmed"
-  - LLDPD_CONFIG_ARGS="--disable-dot1"
-  - LLDPD_CONFIG_ARGS="--disable-dot3"
-  - LLDPD_CONFIG_ARGS="--with-snmp"
-branches:
-  only:
-    - master
-    - branch-0.5
+  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"
+    - LLDPD_CONFIG_ARGS="--with-json=json-c"
+matrix:
+  include:
+    - os: linux
+      compiler: clang
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
+    - os: osx
+      compiler: clang
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"