summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-07-21 14:55:12 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-07-21 20:43:39 +0200
commit12b2465c1e1d343cd0d3a760a39c8d32babea972 (patch)
tree428b2f777cb801ca8735662dc978202b1f9f9f23 /.travis.yml
parent17256f13dcf47dd8493f888ff7879b6c25928852 (diff)
downloadmpv-12b2465c1e1d343cd0d3a760a39c8d32babea972.tar.bz2
mpv-12b2465c1e1d343cd0d3a760a39c8d32babea972.tar.xz
travis: add OS X continous integration
The travis guys were so nice to activate multi OS support for us (it's a beta feature). So now we build on OS X ass well to check for OS X specific breakage. Later I might investigate further and build with the minimum supported SDK version so that we don't break older systems by using newer Cocoa features.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index faafe27b86..c588d0562d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,8 @@
language: c
+os:
+ - linux
+ - osx
env:
- LIBAV=libav-stable
- LIBAV=libav-git
@@ -7,24 +10,31 @@ env:
- LIBAV=ffmpeg-git
compiler:
- clang
+
branches:
only:
- master
- ci
+matrix:
+ exclude:
+ - os: osx
+ env: LIBAV=libav-stable
+ - os: osx
+ env: LIBAV=libav-git
+ - os: osx
+ env: LIBAV=ffmpeg-git
+
before_install: ./travis-deps libass-stable $LIBAV
script:
- ./bootstrap.py
- ./waf configure
- ./waf build
-notifications-policy: &notifications-policy
- on_success: change
- on_failure: always
-
notifications:
email: false
irc:
channels:
- "irc.freenode.org#mpv-player-dev"
- <<: *notifications-policy
+ on_success: change
+ on_failure: always