travis: Enable OSX integration
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 17 Nov 2015 12:23:08 +0000 (13:23 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 17 Nov 2015 15:51:00 +0000 (16:51 +0100)
.travis.yml

index 2e9d301..8e9629a 100644 (file)
@@ -1,5 +1,8 @@
 language: c
 sudo: false
+os:
+  - linux
+  - osx
 addons:
   apt:
     packages:
@@ -11,6 +14,10 @@ compiler:
 cache:
   directories:
     - libav-samples
+before_install:
+  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update --all; fi
+install:
+  - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install yasm; fi
 script:
   - mkdir -p libav-samples
   - ./configure --samples=libav-samples --cc=$CC