qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] .travis.yml: add ALSA, PulseAudio, and SDL audio drivers
@ 2016-07-19 15:36 Stefan Hajnoczi
  0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2016-07-19 15:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Alex Bennée, Stefan Hajnoczi

Improve code coverage by building Linux audio drivers.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
This patch triggers the build failure fixed by Peter Maydell's "disas: Fix
ATTRIBUTE_UNUSED define clash with ALSA headers".  Apply Peter's patch first so
that Travis builds stay green.

 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index c13881e..2ec8853 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ addons:
   apt:
     packages:
       - libaio-dev
+      - libasound2-dev
       - libattr1-dev
       - libbrlapi-dev
       - libcap-ng-dev
@@ -22,6 +23,7 @@ addons:
       - libnss3-dev
       - libpixman-1-dev
       - libpng12-dev
+      - libpulse-dev
       - librados-dev
       - libsdl1.2-dev
       - libseccomp-dev
@@ -59,6 +61,7 @@ before_install:
   - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ
   - git submodule update --init --recursive
 before_script:
+  - if [ "$TRAVIS_OS_NAME" == "linux" ]; then CONFIG="$CONFIG --audio-drv-list=alsa,oss,pa,sdl"; fi
   - ./configure ${CONFIG}
 script:
   - make -j3 && ${TEST_CMD}
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-19 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19 15:36 [Qemu-devel] [PATCH] .travis.yml: add ALSA, PulseAudio, and SDL audio drivers Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).