]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: update to Bionic
authorVincent Bernat <vincent@bernat.ch>
Sun, 12 Jan 2020 19:51:23 +0000 (20:51 +0100)
committerVincent Bernat <vincent@bernat.ch>
Sun, 12 Jan 2020 20:00:31 +0000 (21:00 +0100)
.travis.yml
tests/ci/install.sh
tests/ci/run.sh

index 8e1eb9ce7049aba741a037edd625cd4f080fdd92..95d2590b793cd83206620b4fda749f1a3d5c1dc0 100644 (file)
@@ -1,7 +1,6 @@
 language: c
-group: deprecated-2017Q3
 os: linux
-dist: trusty
+dist: bionic
 compiler: gcc
 sudo: require
 install:
@@ -25,6 +24,9 @@ matrix:
     - 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"
index b19bd35d0c73588e0fe50e5dd98ba8afeb072a20..155dbbdf3d268acf79bc41da0adc8ac6cb1416e0 100755 (executable)
@@ -11,19 +11,15 @@ case "$(uname -s)" in
         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
         ;;
index 975c778e10d4f4bcffd093ca94ec14722be231cf..01f6f1a09b7551d61c383bebfbd9bcb902fa3527 100755 (executable)
@@ -2,7 +2,6 @@
 
 set -e
 
-[ $CC != gcc ] || CC=gcc-5
 LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --enable-pie"
 case "$(uname -s)" in
     Linux)