From 3476e071cdc0014f5da0530b7b6816ed79de70f9 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 25 Jul 2016 12:12:09 +0000 Subject: [PATCH] bitbucket-pipelines.yml. My last hope is "xvfb-run". --HG-- branch : develop --- bitbucket-pipelines.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index e600333b8..d84bf0cc6 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -14,13 +14,11 @@ pipelines: - gcc --version - apt-get update # required to install qt - apt-get install -y qtbase5-dev libqt5svg5-dev qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf - # QTestLib require GUI support for some tests - - export DISPLAY=:99.0 - - /etc/init.d/xvfb start - mkdir build - cd build - qmake --version - qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings - make -j$(nproc) - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/opt/atlassian/bitbucketci/agent/build/build/src/libs/vpropertyexplorer/bin:/opt/atlassian/bitbucketci/agent/build/build/src/libs/qmuparser/bin" - - DISPLAY=:99.0 make check \ No newline at end of file + # QTestLib require GUI support for some tests + - xvfb-run -a make check \ No newline at end of file