language: c
-group: deprecated-2017Q3
os: linux
-dist: trusty
+dist: bionic
compiler: gcc
sudo: require
install:
- 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"
brew install libtool libxml2 check
;;
Linux)
- # We prefer gcc-5
- [ $CC != gcc ] || \
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -qqy update
sudo apt-get -qqy install \
automake autoconf libtool pkg-config \
libsnmp-dev libxml2-dev \
libevent-dev libreadline-dev libbsd-dev \
- check libc6-dbg libevent-dbg libseccomp-dev \
+ check libc6-dbg libseccomp-dev \
libpcap-dev libcap-dev \
- snmpd snmp
- [ $CC != gcc ] || \
- sudo apt-get -qqy install gcc-5
+ snmpd snmp \
+ python3-pip python3-setuptools python3-wheel
# For integration tests
sudo -H $(which python3) -m pip install -r tests/integration/requirements.txt
;;