Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Commit 640ddee

Browse files
committed
Use dbus-run-session in CI builds
dbus-launch requires the X11 server running but we are in fact running it after, so use dbus-run-session instead.
1 parent 0a55433 commit 640ddee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ arch:
3636
- qbs-setup-toolchains --detect
3737
- qbs-setup-qt /usr/bin/qmake-qt5 qt5
3838
- qbs config profiles.qt5.baseProfile ${CC}
39-
- eval `dbus-launch --sh-syntax` && xvfb-run -a -s "-screen 0 800x600x24" qbs build -d build -j $(nproc) profile:qt5
39+
- dbus-run-session -- xvfb-run -a -s "-screen 0 800x600x24" qbs build -d build -j $(nproc) profile:qt5
4040

4141
script:
4242
- "curl -s https://raw.githubusercontent.com/lirios/repotools/develop/travis/docker-travis.sh | bash"

0 commit comments

Comments
 (0)