.travis.yml 531 B

123456789101112131415161718192021222324252627282930
  1. language: c
  2. sudo: false
  3. os:
  4. - linux
  5. - osx
  6. addons:
  7. apt:
  8. packages:
  9. - nasm
  10. - diffutils
  11. compiler:
  12. - clang
  13. - gcc
  14. matrix:
  15. exclude:
  16. - os: osx
  17. compiler: gcc
  18. cache:
  19. directories:
  20. - ffmpeg-samples
  21. before_install:
  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. - mkdir -p ffmpeg-samples
  27. - ./configure --samples=ffmpeg-samples --cc=$CC
  28. - make -j 8
  29. - make fate-rsync
  30. - make check -j 8