mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Run tests with xvfb-run (not cmake)
This commit is contained in:
parent
d930f01ccb
commit
dcc4abdeeb
@ -40,12 +40,12 @@ before_install:
|
|||||||
before_script:
|
before_script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- $XVFB cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI
|
- cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- |
|
- |
|
||||||
if ctest --output-on-failure ; then
|
if $XVFB ctest --output-on-failure ; then
|
||||||
if [[ "$ENABLE_UI" == "OFF" ]]; then
|
if [[ "$ENABLE_UI" == "OFF" ]]; then
|
||||||
export ASEPRITE=$PWD/bin/aseprite
|
export ASEPRITE=$PWD/bin/aseprite
|
||||||
git clone https://github.com/aseprite/tests.git
|
git clone https://github.com/aseprite/tests.git
|
||||||
|
Loading…
Reference in New Issue
Block a user