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:
|
2016-10-13 20:33:15 +02:00
|
|
|
- nasm
|
2015-09-12 08:23:45 +02:00
|
|
|
- diffutils
|
2015-08-13 20:13:48 +02:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
2017-04-18 20:21:35 +02:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
|
|
|
compiler: gcc
|
2015-08-13 20:13:48 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
2015-09-07 12:24:51 +02:00
|
|
|
- ffmpeg-samples
|
2015-11-17 14:23:08 +02:00
|
|
|
before_install:
|
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi
|
|
|
|
install:
|
2016-10-13 20:33:15 +02:00
|
|
|
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
|
2015-08-13 20:13:48 +02:00
|
|
|
script:
|
2015-09-07 12:24:51 +02:00
|
|
|
- mkdir -p ffmpeg-samples
|
|
|
|
- ./configure --samples=ffmpeg-samples --cc=$CC
|
2015-08-13 20:13:48 +02:00
|
|
|
- make -j 8
|
|
|
|
- make fate-rsync
|
|
|
|
- make check -j 8
|