From 22e6314dd933616a782c490a1b8381e5687e7f02 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 12 Sep 2018 15:33:46 +0200 Subject: travis: enabling building more optional components during CI A few components are still disabled. Most notably, team support which is not available on Ubuntu 14.04 (trusty). All other components which are disabled are bugs in our build tools. It should be possible to enable them, but currently breaks on travis. Those needs additional fixes. In particular, the DHCP plugins and ifcfg-rh plugin with meson. Also, netconfig plugin with autotools requires that the path exists. (cherry picked from commit e8934059279106728cd4255ab4f9203f83a3ede2) --- .travis.yml | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c5108aee1..0458b63c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,9 +97,19 @@ script: -D introspection=false \ -D qt=false \ -D crypto=$CRYPTO \ - \ -D docs=true \ \ + -D libnm_glib=true \ + -D iwd=true \ + -D ofono=true \ + -D teamdctl=false \ + \ + -D dhcpcanon=/bin/true \ + -D dhclient=/bin/true \ + \ + -D netconfig=true \ + -D resolvconf=true \ + \ -D ifcfg_rh=false \ -D ibft=true \ -D ifupdown=true \ @@ -118,7 +128,30 @@ script: NOCONFIGURE=1 ./autogen.sh && mkdir ./build && pushd ./build && - ../configure --prefix="$PWD/INST" --with-systemd-logind=no --enable-more-warnings=no --enable-ifcfg-rh --enable-config-plugin-ibft --enable-ifupdown --enable-tests --with-crypto=$CRYPTO && + ../configure \ + --prefix="$PWD/INST" \ + --enable-gtk-doc=yes \ + --with-systemd-logind=no \ + --enable-more-warnings=no \ + --enable-tests=yes \ + --with-crypto=$CRYPTO \ + \ + --with-libnm-glib=yes \ + --with-iwd=yes \ + --with-ofono=yes \ + --enable-teamdctl=no \ + \ + --with-dhcpcanon=yes \ + --with-dhcpcd=yes \ + --with-dhclient=yes \ + \ + --with-netconfig=no \ + --with-resolvconf=yes \ + \ + --enable-ifcfg-rh=yes \ + --enable-config-plugin-ibft=yes \ + --enable-ifupdown=yes \ + && make -j4 && if [ "$CC" == gcc ]; then sudo locale-gen pl_PL.UTF-8 && -- cgit v1.2.3