build: Add support for travis CI
authorFederico Tomassetti <federico@tomassetti.me>
Thu, 13 Aug 2015 18:13:48 +0000 (20:13 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 30 Aug 2015 10:54:05 +0000 (12:54 +0200)
It is useful to support a future staging branch and to have an
automated consistency check on github pull requests.

.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..6a9b624
--- /dev/null
@@ -0,0 +1,19 @@
+language: c
+sudo: false
+addons:
+  apt:
+    packages:
+      - yasm
+      - bc
+compiler:
+  - clang
+  - gcc
+cache:
+  directories:
+    - libav-samples
+script:
+  - mkdir -p libav-samples
+  - ./configure --samples=libav-samples --cc=$CC
+  - make -j 8
+  - make fate-rsync
+  - make check -j 8