summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-05-19 09:19:29 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-05-19 20:41:40 +0200
commitd8c06cd99e2b46b00da53850570aed6b6d52da27 (patch)
tree25f2cebd86822b204484c640e81afa327f9cbdf5 /.travis.yml
parentb5f07e86b872564b7b0a934e1346f1ce0ed19c9f (diff)
downloadmpv-d8c06cd99e2b46b00da53850570aed6b6d52da27.tar.bz2
mpv-d8c06cd99e2b46b00da53850570aed6b6d52da27.tar.xz
add Travis-CI integration
Travis-CI [1] is a continous integration cloud service. It is free for open-source projects and tigthly integrated tiwh GitHub so there is really no reason for us not use it. :) For now we are going to do a total of 4 builds, mainly to test ffmpeg/libav API breakage: * ffmpeg-stable, libass-stable * ffmpeg-git, libass-stable * libav-stable, libass-stable * libav-git, libass-stable The compiler that is currently used is clang for two reasons: * running 8 build targets would be quite wasteful and take a long time * clang is less tested and used during development than gcc (especially on linux) Currently Travis doesn't support OS X environments alongside Linux ones [2]. When it will, we will add a fifth build target to test OS X compilation breakage. README was moved to markdown to add the little build status image. I ran some tests with my GitHub fork and couldn't get images to show up using ReStructured Text. [1]: https://github.com/travis-ci/travis-ci [2]: travis-ci/travis-ci#216
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..cd5a9d4262
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+language: c
+
+env:
+ - LIBAV=libav-stable
+ - LIBAV=libav-git
+ - LIBAV=ffmpeg-stable
+ - LIBAV=ffmpeg-git
+compiler:
+ - clang
+branches:
+ only:
+ - master
+
+before_install: ./travis-deps libass-stable $LIBAV
+script: ./configure && make
+
+notifications:
+ email:
+ recipients:
+ - mpv-team@googlegroups.com
+ email:
+ on_success: change
+ n_failure: always
+ irc:
+ channels:
+ - "irc.freenode.org#mpv-player-dev"
+ email:
+ on_success: change
+ n_failure: always