.travis.yml 531 Bytes
Newer Older
1 2
language: c
sudo: false
3 4 5
os:
  - linux
  - osx
6 7 8
addons:
  apt:
    packages:
9
      - nasm
James Almer's avatar
James Almer committed
10
      - diffutils
11 12 13
compiler:
  - clang
  - gcc
14 15 16 17
matrix:
    exclude:
        - os: osx
          compiler: gcc
18 19
cache:
  directories:
20
    - ffmpeg-samples
21
before_install:
Luca Barbato's avatar
Luca Barbato committed
22
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
23
install:
24
  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install nasm; fi
25
script:
26 27
  - mkdir -p ffmpeg-samples
  - ./configure --samples=ffmpeg-samples --cc=$CC
28 29 30
  - make -j 8
  - make fate-rsync
  - make check -j 8