2015-08-13 20:13:48 +02:00
|
|
|
language: c
|
|
|
|
sudo: false
|
2015-11-17 14:23:08 +02:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-08-13 20:13:48 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- yasm
|
2015-09-12 08:23:45 +02:00
|
|
|
- diffutils
|
2015-08-13 20:13:48 +02:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- libav-samples
|
2015-11-17 14:23:08 +02:00
|
|
|
before_install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi
|
|
|
|
install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install yasm; fi
|
2015-08-13 20:13:48 +02:00
|
|
|
script:
|
|
|
|
- mkdir -p libav-samples
|
|
|
|
- ./configure --samples=libav-samples --cc=$CC
|
|
|
|
- make -j 8
|
|
|
|
- make fate-rsync
|
|
|
|
- make check -j 8
|