From d8c06cd99e2b46b00da53850570aed6b6d52da27 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 19 May 2013 09:19:29 +0200 Subject: 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 --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') 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 -- cgit v1.2.3