1 # Copyright © 2015-2016 Collabora Ltd.
3 # Permission is hereby granted, free of charge, to any person
4 # obtaining a copy of this software and associated documentation files
5 # (the "Software"), to deal in the Software without restriction,
6 # including without limitation the rights to use, copy, modify, merge,
7 # publish, distribute, sublicense, and/or sell copies of the Software,
8 # and to permit persons to whom the Software is furnished to do so,
9 # subject to the following conditions:
11 # The above copyright notice and this permission notice shall be
12 # included in all copies or substantial portions of the Software.
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
18 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
19 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27 # travis-ci has a sources list for Chrome which doesn't support i386
28 - ": | sudo tee /etc/apt/sources.list.d/google-chrome.list"
29 - test "$dbus_ci_host" != mingw || sudo dpkg --add-architecture i386
30 - sudo apt-get -qq -y update
32 test "$dbus_ci_host" != mingw || sudo apt-get -qq -y install
33 binutils-mingw-w64-i686 g++-mingw-w64-i686 wine:i386
34 - sudo apt-get -qq -y build-dep dbus
36 sudo apt-get -qq -y install
59 # Ubuntu 14.04's autoconf-archive is too old
62 http://snapshot.debian.org/archive/debian/20160905T163745Z/pool/main/a/autoconf-archive/autoconf-archive_20160320-1_all.deb
63 - 'sudo dpkg -i autoconf-archive_*_all.deb'
64 - 'rm autoconf-archive_*_all.deb'
66 # python-dbus and python-gi aren't available to Travis's version of
67 # Python in /opt, which it uses as a default
68 - PYTHON=/usr/bin/python dbus_ci_parallel=2 dbus_ci_sudo=yes ./tools/ci-build.sh
71 - dbus_ci_variant=production
72 - dbus_ci_variant=debug
73 - dbus_ci_variant=reduced
74 - dbus_ci_variant=legacy
75 - dbus_ci_buildsys=cmake
77 - dbus_ci_host=mingw dbus_ci_variant=debug
78 - dbus_ci_host=mingw dbus_ci_buildsys=cmake
80 # vim:set sw=2 sts=2 et: