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