summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-07-25 12:43:01 +0100
committerSimon McVittie <smcv@collabora.com>2018-10-04 11:19:32 +0100
commit53a9a15372036ef90cf2be27049540a4441133f8 (patch)
treee33851b430abeb824b45fcdc2784b9853da9fc3f
parentad1e5fe6f42aac4a56944fc39e9c12dc19e3bdf3 (diff)
downloaddbus-53a9a15372036ef90cf2be27049540a4441133f8.tar.gz
travis-ci: Enable/disable more features in various builds
In the debug build, enable features that are off by default. In the reduced build, explicitly disable features, some of which are on by default. In the legacy build, check that we can compile the default feature-set without inotify, dnotify, systemd, etc. Reviewed-by: Philip Withnall <withnall@endlessm.com> [smcv: Rebase onto 1.13.x branch, fix minor conflicts] Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101354 (cherry picked from commit 3c031ef5aa1f7f53c6344781cb38b78abe44dc96)
-rwxr-xr-xtools/ci-build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh
index d4f9d854..139d45e7 100755
--- a/tools/ci-build.sh
+++ b/tools/ci-build.sh
@@ -125,6 +125,10 @@ case "$ci_buildsys" in
# Full developer/debug build.
set _ "$@"
set "$@" --enable-developer --enable-tests
+ # Enable optional features that are off by default
+ if [ "$ci_host" != mingw ]; then
+ set "$@" --enable-user-session
+ fi
shift
# The test coverage for OOM-safety is too
# verbose to be useful on travis-ci.
@@ -147,6 +151,10 @@ case "$ci_buildsys" in
set "$@" --disable-launchd --disable-systemd
# No libaudit or valgrind
set "$@" --disable-libaudit --without-valgrind
+ # Disable optional features, some of which are on by
+ # default
+ set "$@" --disable-stats
+ set "$@" --disable-user-session
shift
;;