language: c
os: linux
-dist: trusty
+dist: bionic
compiler: gcc
sudo: require
install:
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"