From d097e154ff71541079e464d998e2f8579f59f2a8 Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Sun, 12 Feb 2017 20:58:14 +0300 Subject: [PATCH] try to use virtual fb x-server to run tests --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bdfad95..1f0126c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,13 +7,16 @@ arch: - cmake - extra-cmake-modules - python + # test + - xorg-server-xvfb script: + - export DISPLAY=:99.0 - git clone https://github.com/arcan1s/awesome-widgets/ - cd awesome-widgets && git submodule update --init --recursive - mkdir awesome-widgets/build - cd awesome-widgets/build && cmake -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_BUILD_TYPE=Optimization -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_FUTURE=ON -DBUILD_TESTING=ON ../sources - cd awesome-widgets/build && make - - cd awesome-widgets/build && make test + - cd awesome-widgets/build && xvfb-run make test script: - "curl -s https://raw.githubusercontent.com/mikkeloscar/arch-travis/master/arch-travis.sh | bash"