From e9f0af6864f3089b14d37670d4fb478da53c3cae Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 18 Jun 2020 16:20:19 +0200 Subject: [PATCH] check "headless nosound" mode in Travis --- .travis.yml | 4 ++++ Jamulus.pro | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b403dd38..18bab97a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,10 @@ matrix: - gcc script: - echo $TRAVIS_TAG + # headless server compilation + - qmake "CONFIG+=headless nosound" Jamulus.pro + - make + # normal compilation - qmake Jamulus.pro - make #deploy function is only available in travis-ci.com (not free) but not in travis-ci.org (free) diff --git a/Jamulus.pro b/Jamulus.pro index 6cc6f0a4..e7a1cf3b 100755 --- a/Jamulus.pro +++ b/Jamulus.pro @@ -281,8 +281,7 @@ win32 { DEFINES += HAVE_STDINT_H # only include jack support if CONFIG nosound is not set - nosoundoption = $$find(CONFIG, "nosound") - count(nosoundoption, 0) { + !contains(CONFIG, "nosound") { message(Jack Audio Interface Enabled.) contains(CONFIG, "raspijamulus") {