From: Arun Raghavan <[email protected]>

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.
---
 .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
+
+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
-- 
2.1.4

_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to