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:
Dirk Hohndel 2017-02-06 22:25:53 -08:00
parent 2bad9bd57d
commit 5018ad4748
2 changed files with 13 additions and 1 deletions

View file

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

View file

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