]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - .travis.yml
interfaces: fix for limitation of 10 VLANs for LLDP .1q feature
[thirdparty/lldpd.git] / .travis.yml
index 40289e887b23a0269eca0f2a3d70bd54f71b5bd8..95d2590b793cd83206620b4fda749f1a3d5c1dc0 100644 (file)
@@ -1,6 +1,6 @@
 language: c
 os: linux
-dist: trusty
+dist: bionic
 compiler: gcc
 sudo: require
 install:
@@ -11,14 +11,43 @@ env:
   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 --with-xml --with-json --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
+    - 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 --with-json"
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
+    - os: linux
+      arch: arm64
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
+    - os: linux
+      arch: ppc64el
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
+    - os: osx
+      compiler: clang
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
+    - os: osx
+      compiler: clang
+      env: 
+        - MAKE_ARGS=""
+        - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
     - os: osx
       compiler: clang
-      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
+      if: tag =~ ^[0-9]
+      env:
+        - MAKE_ARGS=""
+        - LLDPD_UPLOAD=1
+        - LLDPD_CONFIG_ARGS="--prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent --without-snmp --without-xml"
+deploy:
+  - provider: s3
+    skip_cleanup: true
+    local_dir: upload
+    bucket: lldpd-releases
+    acl: public_read
+    on:
+      all_branches: true
+      condition: "$LLDPD_UPLOAD = 1"