mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
On Travis, don't run TestPreferences
... because that one needs a display to run. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2bad9bd57d
commit
5018ad4748
2 changed files with 13 additions and 1 deletions
|
@ -43,5 +43,5 @@ script:
|
||||||
- export CMAKE_PREFIX_PATH=$PWD/Qt/5.8/gcc_64/lib/cmake ;
|
- export CMAKE_PREFIX_PATH=$PWD/Qt/5.8/gcc_64/lib/cmake ;
|
||||||
cd .. ;
|
cd .. ;
|
||||||
bash -e ./subsurface/scripts/build.sh
|
bash -e ./subsurface/scripts/build.sh
|
||||||
- cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check
|
- cd subsurface/build ; env CTEST_OUTPUT_ON_FAILURE=1 make check_travis
|
||||||
# - cd subsurface/build-mobile ; env CTEST_OUTPUT_ON_FAILURE=1 make check
|
# - cd subsurface/build-mobile ; env CTEST_OUTPUT_ON_FAILURE=1 make check
|
||||||
|
|
|
@ -33,3 +33,15 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
TestPreferences
|
TestPreferences
|
||||||
TestRenumber
|
TestRenumber
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(check_travis COMMAND ${CMAKE_CTEST_COMMAND}
|
||||||
|
DEPENDS
|
||||||
|
TestUnitConversion
|
||||||
|
TestProfile
|
||||||
|
TestGpsCoords
|
||||||
|
TestParse
|
||||||
|
TestGitStorage
|
||||||
|
TestPlan
|
||||||
|
TestDiveSiteDuplication
|
||||||
|
TestRenumber
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue