diff options
author | Marcel Metz <[email protected]> | 2017-03-05 15:15:08 +0100 |
---|---|---|
committer | Marcel Metz <[email protected]> | 2017-03-05 16:14:18 +0100 |
commit | 441180a08a86d940fdebd9c12f8fb5e1e4703026 (patch) | |
tree | e5d2df2cb06255aeb0f5d9b6f3dfa12e242977c5 /.travis.yml | |
parent | 9f9faff90a957454f5e1767a2c4324b6dc48c484 (diff) |
Install dependencies on TravisCI to enable more features
Install Ubuntu development packages for PulseAudio, PortAudio, ALSA and
JACK to enable the building of most Linux backends on TravisCI.
Intall Ubuntu development packages for Qt5 to enable `alsoft-config`.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index f87cfb1b..915431b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,19 @@ os: - linux - osx dist: trusty +sudo: required language: c +install: + - > + if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then + # Install pulseaudio, portaudio, ALSA, JACK dependencies for + # corresponding backends. + # Install Qt5 dependency for alsoft-config. + sudo apt-get install -qq \ + libpulse-dev \ + portaudio19-dev \ + libasound2-dev \ + libjack-dev \ + qtbase5-dev + fi script: cmake . && make -j2 |