mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
travis: Run a xfvb for TestPreferences
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b912880707
commit
9aacc41a48
2 changed files with 5 additions and 13 deletions
|
@ -35,6 +35,10 @@ before_install:
|
|||
chmod +x ./qt-opensource-linux-x64-android-5.8.0.run ;
|
||||
./qt-opensource-linux-x64-android-5.8.0.run -platform minimal --script qt-installer-noninteractive.qs --no-force-installations ;
|
||||
fi
|
||||
# TestPreferences uses gui calls, so run a xvfb so it has something to talk to
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
||||
|
||||
script:
|
||||
- perl -pi -e 's/BUILDGRANTLEE=1/BUILDGRANTLEE=0/' scripts/build.sh
|
||||
|
@ -43,5 +47,5 @@ script:
|
|||
- export CMAKE_PREFIX_PATH=$PWD/Qt/5.8/gcc_64/lib/cmake ;
|
||||
cd .. ;
|
||||
bash -e ./subsurface/scripts/build.sh
|
||||
- cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check_travis
|
||||
- cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check
|
||||
# - cd subsurface/build-mobile ; env CTEST_OUTPUT_ON_FAILURE=1 make check
|
||||
|
|
|
@ -33,15 +33,3 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
|||
TestPreferences
|
||||
TestRenumber
|
||||
)
|
||||
|
||||
add_custom_target(check_travis COMMAND ${CMAKE_CTEST_COMMAND}
|
||||
DEPENDS
|
||||
TestUnitConversion
|
||||
TestProfile
|
||||
TestGpsCoords
|
||||
TestParse
|
||||
TestGitStorage
|
||||
TestPlan
|
||||
TestDiveSiteDuplication
|
||||
TestRenumber
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue