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 e893405927)
This commit is contained in:
Thomas Haller 2018-09-12 15:33:46 +02:00
parent 7943b2bb2e
commit 22e6314dd9

View file

@ -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 &&