diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-07-21 14:55:12 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-07-21 20:43:39 +0200 |
commit | 12b2465c1e1d343cd0d3a760a39c8d32babea972 (patch) | |
tree | 428b2f777cb801ca8735662dc978202b1f9f9f23 /travis-deps | |
parent | 17256f13dcf47dd8493f888ff7879b6c25928852 (diff) | |
download | mpv-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-deps')
-rwxr-xr-x | travis-deps | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/travis-deps b/travis-deps index f43a78d55e..adf7fadefa 100755 --- a/travis-deps +++ b/travis-deps @@ -89,8 +89,15 @@ end class Dependencies < TravisDepsBuilder def deps - sh "sudo apt-get update -y" - sh "sudo apt-get install pkg-config fontconfig libfribidi-dev yasm -y" + case ENV['TRAVIS_OS_NAME'] + when 'linux' then + sh "sudo apt-get update -y" + sh "sudo apt-get install pkg-config fontconfig libfribidi-dev yasm -y" + when 'osx' then + sh 'brew install pkg-config fontconfig freetype fribidi yasm' + else + abort "Unrecognized OS" + end end end |