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