dxva: add support for new dxva2 and d3d11 hwaccel APIs
[ffmpeg.git] / .travis.yml
index 5f3c533..40f01f9 100644 (file)
@@ -1,9 +1,12 @@
 language: c
 sudo: false
+os:
+  - linux
+  - osx
 addons:
   apt:
     packages:
-      - yasm
+      - nasm
       - diffutils
 compiler:
   - clang
@@ -11,6 +14,10 @@ compiler:
 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