aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 63f2051cb3f1f22e2529e61ad682c00b3a9a731a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: c
sudo: false
os:
  - linux
  - osx
addons:
  apt:
    packages:
      - nasm
      - diffutils
compiler:
  - clang
  - gcc
matrix:
    exclude:
        - os: osx
          compiler: gcc
cache:
  directories:
    - ffmpeg-samples
before_install:
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi
install:
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
script:
  - mkdir -p ffmpeg-samples
  - ./configure --samples=ffmpeg-samples --cc=$CC
  - make -j 8
  - make fate-rsync
  - make check -j 8