[pulseaudio-discuss] [PATCH] Add a .travis.yml for Travis CI

David Henningsson david.henningsson at canonical.com
Mon Apr 20 00:50:35 PDT 2015



On 2015-04-19 22:54, Felipe Sateler wrote:
> Installs all the build dependencies, and runs make check and
> check-daemon.
>
> V1: Based on Arun Raghavan's travis file. Added trusty repositories to get
> newer libs.
>
> V2: Explicitly list all dependencies instead of relying on the Ubuntu
> package Build-Dependencies. Send notifications to pulseaudio-discuss
> ---
>   .travis.yml | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 62 insertions(+)
>   create mode 100644 .travis.yml
>
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..7999ac7
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,62 @@
> +language: c
> +
> +compiler:
> +  - gcc
> + #- clang
> +
> +before_install:
> +  - sudo sh -c 'echo "deb http://archive.ubuntu.com/ubuntu/ trusty main universe\ndeb-src http://archive.ubuntu.com/ubuntu/ trusty main universe" >> /etc/apt/sources.list'
> +  - sudo apt-get -qq update
> +install:
> +  # Systemd-dev is not installable yet in ubuntu trusty'

There is libsystemd-daemon-dev, libsystemd-id128-dev, 
libsystemd-journal-dev, and libsystemd-login-dev. Does that help?


> +  - >
> +    sudo apt-get -qq install
> +    git-core
> +    autopoint
> +    autoconf
> +    automake
> +    intltool
> +    check
> +    libasound2-dev
> +    libasyncns-dev
> +    libatomic-ops-dev
> +    libavahi-client-dev
> +    libbluetooth-dev
> +    libsbc-dev
> +    libcap-dev
> +    libfftw3-dev
> +    libgconf2-dev
> +    libglib2.0-dev
> +    libgtk-3-dev
> +    libice-dev
> +    libjack-dev
> +    libjson0-dev
> +    libjson-c-dev
> +    liblircclient-dev
> +    libltdl-dev
> +    liborc-0.4-dev
> +    libsamplerate0-dev
> +    libsndfile1-dev
> +    libspeexdsp-dev
> +    libssl-dev
> +    libtdb-dev
> +    libudev-dev
> +    libwebrtc-audio-processing-dev
> +    libwrap0-dev
> +    libx11-xcb-dev
> +    libxcb1-dev
> +    libxtst-dev
> +
> +before_script:
> +  # can't run git-version-gen on a shallow clone or without tags
> +  - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
> +  - git fetch --tags
> +  - NOCONFIGURE=1 ./bootstrap.sh
> +
> +script:
> +  - ./configure --localstatedir=/var && make && make check && make check-daemon
> +
> +notifications:
> +  email:
> +    recipients:
> +      - pulseaudio-discuss at lists.freedesktop.org
>

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list