From dcc4abdeeb1d201879cd1ef41c5b9081e79cbd57 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 29 Aug 2018 11:05:17 -0300 Subject: [PATCH] Run tests with xvfb-run (not cmake) --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e5062a27..02c92be15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,12 +40,12 @@ before_install: before_script: - mkdir build - cd build - - $XVFB cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI + - cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI script: - make - | - if ctest --output-on-failure ; then + if $XVFB ctest --output-on-failure ; then if [[ "$ENABLE_UI" == "OFF" ]]; then export ASEPRITE=$PWD/bin/aseprite git clone https://github.com/aseprite/tests.git