Run tests with xvfb-run (not cmake)

This commit is contained in:
David Capello 2018-08-29 11:05:17 -03:00
parent d930f01ccb
commit dcc4abdeeb

View File

@ -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