From 658b6df4d87cd21d43ba6f01dc29b8b8146ca751 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 12 Feb 2020 15:41:36 +0100 Subject: [PATCH] travis: Add build tests for NM plugin --- .travis.yml | 2 ++ scripts/test.sh | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3e448c9d9f..a5cde8a597 100644 --- a/.travis.yml +++ b/.travis.yml @@ -93,6 +93,8 @@ matrix: - env: TEST=printf-builtin LEAK_DETECTIVE=yes - env: TEST=printf-builtin LEAK_DETECTIVE=yes compiler: clang + - env: TEST=nm + - env: TEST=nm-no-glib # the crypto plugins are build-tested with clang via "all" above - env: TEST=botan - env: TEST=botan LEAK_DETECTIVE=yes diff --git a/scripts/test.sh b/scripts/test.sh index c0de4874d3..d0c9a4767f 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -270,6 +270,17 @@ fuzzing) symbolize=1:handle_segv=1:fast_unwind_on_fatal=0:external_symbolizer_path=/usr/bin/llvm-symbolizer-3.5 fi ;; +nm|nm-no-glib) + DEPS="gnome-common libsecret-1-dev libgtk-3-dev libnm-dev libnma-dev" + if test "$TEST" = "nm"; then + DEPS="$DEPS libnm-glib-vpn-dev libnm-gtk-dev" + else + CONFIG="$CONFIG --without-libnm-glib" + fi + cd src/frontends/gnome + # don't run ./configure with ./autogen.sh + export NOCONFIGURE=1 + ;; dist) TARGET=distcheck ;; -- 2.39.2