build: Add support for travis CI

It is useful to support a future staging branch and to have an
automated consistency check on github pull requests.
This commit is contained in:
Federico Tomassetti 2015-08-13 20:13:48 +02:00 committed by Luca Barbato
parent e88103a7f9
commit 6bcd3e0599
1 changed files with 19 additions and 0 deletions

19
.travis.yml Normal file
View File

@ -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