vuplus patch.
[vuplus_xbmc] / .travis.yml
1 # Kodi's travis-ci.org integration file
2
3 # NOTES:
4 # The travis-ci Gods have environmental concerns with verbosity and clang/xcode builds.
5 # A nice message is presented in such cases:
6 # "The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the
7 # same exception over and over). The job has been terminated"
8 #
9 # travis-ci has a problem with python 2.7 (see https://github.com/travis-ci/travis-ci/issues/4948) so we mark
10 # used language as 'generic' to work around it
11
12 # TODO:
13 # integrate with slack
14 # make it perfect... or not ;-r
15
16
17 language: generic
18 #  - cpp
19 #  - python
20
21 # python:
22 #  - "2.7"
23
24 # Define the build matrix
25 #
26 # Travis defaults to building on Ubuntu Precise when building on Linux. We need Trusty in order to get up
27 # to date versions of cmake and g++.
28 #
29 matrix:
30   fast_finish: true
31   include:
32     - os: linux
33       dist: trusty    
34       sudo: required
35       compiler: gcc
36
37 # Prepare system
38 #
39 # Prepare the system to install prerequisites or dependencies
40 #
41 before_install:
42
43 # Linux
44 #
45 # Install team-xbmc/xbmc-ppa-build-depends for some dependencies and ppa:wsnipex/vaapi for libda-dev 1.6.0.
46 # Stupid libda-dev 1.3.0 does not work on Trusty.
47 #
48   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
49     sudo add-apt-repository -y ppa:team-xbmc/xbmc-ppa-build-depends
50     && sudo add-apt-repository -y ppa:wsnipex/vaapi
51     && sudo apt-get update -qq; fi
52
53 # Install dependencies
54 #
55 # Install any prerequisites or dependencies necessary to run our builds
56 #
57 install:
58
59 # Linux dependencies
60 #
61   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
62     sudo apt-get install -qq automake autopoint build-essential cmake curl dcadec-dev default-jre gawk gdc
63     gettext git-core gperf libasound2-dev libass-dev libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev
64     libcrossguid-dev libcurl3 libcurl4-openssl-dev libdbus-1-dev libfontconfig-dev libegl1-mesa-dev libfreetype6-dev
65     libfribidi-dev libgif-dev libglew-dev libiso9660-dev libjasper-dev libjpeg-dev libltdl-dev liblzo2-dev
66     libmicrohttpd-dev libmodplug-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev
67     libplist-dev libpng-dev libpulse-dev libsdl2-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libtiff-dev
68     libtag1-dev libtinyxml-dev libtool libudev-dev libusb-dev libva-dev libvdpau-dev libvorbis-dev libvorbisenc2
69     libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount
70     python-dev python-imaging python-sqlite swig unzip uuid-dev yasm zip zlib1g-dev; fi
71
72 # Prepare builds
73 #
74 before_script:
75
76 # Linux
77 #
78   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
79     cd $TRAVIS_BUILD_DIR/
80     && ./bootstrap
81     && ./configure; fi
82
83 # Actually build
84 #
85 script: make -j3
86
87 # Disable annoying emails
88 #
89 notifications:
90   email: false