summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-09-12 15:33:46 +0200
committerThomas Haller <thaller@redhat.com>2018-09-12 15:34:28 +0200
commit22e6314dd933616a782c490a1b8381e5687e7f02 (patch)
treedfa6b161ec40deb706a39a8e8d6be609a4e7edf6
parent7943b2bb2e94717472adaed7f63b0b3c8260750c (diff)
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)
-rw-r--r--.travis.yml37
1 files 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 &&