1 # Kodi's travis-ci.org integration file
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"
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
13 # integrate with slack
14 # make it perfect... or not ;-r
24 # Define the build matrix
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++.
39 # Prepare the system to install prerequisites or dependencies
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.
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
53 # Install dependencies
55 # Install any prerequisites or dependencies necessary to run our builds
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
78 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
87 # Disable annoying emails