check "headless nosound" mode in Travis

This commit is contained in:
Volker Fischer 2020-06-18 16:20:19 +02:00
parent 30d8181423
commit e9f0af6864
2 changed files with 5 additions and 2 deletions

View file

@ -12,6 +12,10 @@ matrix:
- gcc - gcc
script: script:
- echo $TRAVIS_TAG - echo $TRAVIS_TAG
# headless server compilation
- qmake "CONFIG+=headless nosound" Jamulus.pro
- make
# normal compilation
- qmake Jamulus.pro - qmake Jamulus.pro
- make - make
#deploy function is only available in travis-ci.com (not free) but not in travis-ci.org (free) #deploy function is only available in travis-ci.com (not free) but not in travis-ci.org (free)

View file

@ -281,8 +281,7 @@ win32 {
DEFINES += HAVE_STDINT_H DEFINES += HAVE_STDINT_H
# only include jack support if CONFIG nosound is not set # only include jack support if CONFIG nosound is not set
nosoundoption = $$find(CONFIG, "nosound") !contains(CONFIG, "nosound") {
count(nosoundoption, 0) {
message(Jack Audio Interface Enabled.) message(Jack Audio Interface Enabled.)
contains(CONFIG, "raspijamulus") { contains(CONFIG, "raspijamulus") {