Add a regression test for dbus-launch in X11
[platform/upstream/dbus.git] / .travis.yml
1 sudo: required
2 dist: trusty
3 language: c
4 install:
5   # travis-ci has a sources list for Chrome which doesn't support i386
6   - ": | sudo tee /etc/apt/sources.list.d/google-chrome.list"
7   - test "$dbus_ci_host" != mingw || sudo dpkg --add-architecture i386
8   - sudo apt-get -qq -y update
9   - sudo apt-get -qq -y build-dep dbus
10   - >
11     sudo apt-get -qq -y install
12     automake
13     autotools-dev
14     debhelper
15     dh-autoreconf
16     doxygen
17     dpkg-dev
18     gnome-desktop-testing
19     libapparmor-dev
20     libaudit-dev
21     libcap-ng-dev
22     libexpat-dev
23     libglib2.0-dev
24     libselinux1-dev
25     libx11-dev
26     python
27     python-dbus
28     python-gi
29     valgrind
30     xauth
31     xmlto
32     xsltproc
33     xvfb
34   - >
35     test "$dbus_ci_host" != mingw || sudo apt-get -qq -y install
36     binutils-mingw-w64-i686 g++-mingw-w64-i686 wine:i386
37 script:
38   # python-dbus and python-gi aren't available to Travis's version of
39   # Python in /opt, which it uses as a default
40   - PYTHON=/usr/bin/python dbus_ci_parallel=2 dbus_ci_sudo=yes ./tools/ci-build.sh
41
42 env:
43   - dbus_ci_variant=release
44   - dbus_ci_variant=debug
45   - dbus_ci_variant=reduced
46   - dbus_ci_variant=legacy
47   - dbus_ci_buildsys=cmake
48   - dbus_ci_host=mingw
49   - dbus_ci_host=mingw dbus_ci_variant=debug
50   - dbus_ci_host=mingw dbus_ci_buildsys=cmake
51
52 # vim:set sw=2 sts=2 et: