[pulseaudio-discuss] [PATCH] Add a .travis.yml for Travis CI
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Wed Apr 15 08:16:25 PDT 2015
On Tue, 2015-04-14 at 20:32 -0300, Felipe Sateler wrote:
> From: Arun Raghavan <arun at accosted.net>
>
> Currently uses Ubuntu's build dependencies, and runs make check and
> check-daemon.
>
> Based on Arun Raghavan's travis file. Added trusty repositories to get
> newer libs.
If there are failures, where are they reported?
> ---
> .travis.yml | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 .travis.yml
>
>
> For this to be run automatically someone that controls the pulseaudio
> name in github must link the repository to travis.
>
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..a869372
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,21 @@
> +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:
> + - sudo apt-get -qq build-dep pulseaudio
> + - sudo apt-get -qq install libcap-dev libjson-c-dev autopoint git-core autoconf automake gcc dh-autoreconf check intltool
Why is the second command needed? Shouldn't "apt-get build-dep" already
get everything needed (well, except git)?
> +
> +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
--
Tanu
More information about the pulseaudio-discuss
mailing list