summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 784b7bdf73d8c6d86e5b09b856648008de203588 (plain)
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; 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