]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - .travis.yml
tests: display tests/test-suite.log on errors
[thirdparty/lldpd.git] / .travis.yml
index 42fb859498e7a1d849d41afbed0d05c578de8d6c..65de7f51766aeba4da3fcc6ed45e409d8243884b 100644 (file)
@@ -1,6 +1,6 @@
 language: c
 os: linux
-dist: trusty
+dist: bionic
 compiler: gcc
 sudo: require
 install:
@@ -20,7 +20,31 @@ 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: 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"