From f52ca9ac94e95f18d9749ff68ced63c1ae2bffd6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 15 Apr 2015 22:12:42 +0300 Subject: [PATCH] QTestLib require GUI support for some tests. --HG-- branch : develop --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e3cb8d6a8..ee46b0d2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,9 @@ before_install: - sudo apt-get install -y libqt5core5 libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf cppcheck before_script: + # QTestLib require GUI support for some tests + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" - mkdir build - cd build - which qmake @@ -31,7 +34,7 @@ before_script: script: - cppcheck --error-exitcode=1 --quiet --inline-suppr --template '{file}:{line}:{message}:{id}' --std=posix --enable=performance,portability ../src - make -j$(nproc) - - make check + - DISPLAY=:99.0 make check notifications: email: