diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-11-22 21:10:44 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2016-11-22 21:37:13 +0000 |
commit | c4640c6facdb48f98761188645212d9a9184e366 (patch) | |
tree | 1a319cae0da25869c0b06dc9dd32ab8dcaa13ba6 /.travis.yml | |
parent | 07ec3ecf24ab01370af79863c4385ae8900f96b4 (diff) | |
download | dbus-c4640c6facdb48f98761188645212d9a9184e366.tar.gz |
Install mingw build-dependencies in a different order
This avoids installing the build-dependencies for dbus and its tests,
then uninstalling them all because they rely on libraries whose versions
are older than the ones needed by wine:i386 (and apparently apt prefers
to remove those libraries rather than upgrade them). Doing it this way
round seems to convince apt to do the right thing.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 7f09c1d9..03f9c9a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ install: - ": | sudo tee /etc/apt/sources.list.d/google-chrome.list" - test "$dbus_ci_host" != mingw || sudo dpkg --add-architecture i386 - sudo apt-get -qq -y update + - > + test "$dbus_ci_host" != mingw || sudo apt-get -qq -y install + binutils-mingw-w64-i686 g++-mingw-w64-i686 wine:i386 - sudo apt-get -qq -y build-dep dbus - > sudo apt-get -qq -y install @@ -31,9 +34,6 @@ install: xmlto xsltproc xvfb - - > - test "$dbus_ci_host" != mingw || sudo apt-get -qq -y install - binutils-mingw-w64-i686 g++-mingw-w64-i686 wine:i386 script: # python-dbus and python-gi aren't available to Travis's version of # Python in /opt, which it uses as a default |