summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-08-22 16:50:00 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-08-22 16:52:02 +0300
commitbf1c7a47b5cb0607ab0843dbdafa77ba020623a9 (patch)
treebc9d52577b0df25d4a6ff5cca846cc96d6416259 /.travis.yml
parent547af7475ef0004cbf7542a57e23de62e8590cc3 (diff)
downloadqtlocation-mapboxgl-bf1c7a47b5cb0607ab0843dbdafa77ba020623a9.tar.gz
[Qt] Add mesa to the library path
Qt 5 gets confused with fglrx that is installed by default on Travis trusty bots. This way we force both Qt and Xvfb to load on mesa drivers.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0f92d58feb..e0b733e4aa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -140,7 +140,9 @@ matrix:
dist: trusty
language: cpp
compiler: "qt5-gcc5-release"
- env: BUILDTYPE=Release _CXX=g++-5 _CC=gcc-5
+ # Qt 5 gets confused with fglrx that is installed by default on Travis
+ # trusty bots. This way we force both Qt and Xvfb to load on mesa drivers.
+ env: BUILDTYPE=Release _CXX=g++-5 _CC=gcc-5 LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/mesa
addons: *qt5
script:
- make qt-app