File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ matrix:
1616before_install :
1717- date -u
1818- uname -a
19- - sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build
19+ - sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build libqt4-dev qt4-qmake libqt4-opengl-dev
2020
2121script :
2222 - cd bin
2323 - cmake -GNinja -DTRAVIS_BUILD:BOOL=ON ../Superbuild
24- - travis_wait 40 ninja
24+ - travis_wait 80 ninja
2525 - cd SCIRun
2626 - ./Algorithm_Layer_Test
2727 - ./Modules_Factory_Tests --gtest_filter=*HardCodedModuleFactoryTests*
Original file line number Diff line number Diff line change @@ -93,10 +93,14 @@ OPTION(TRAVIS_BUILD "Slim build for Travis CI" OFF)
9393MARK_AS_ADVANCED (TRAVIS_BUILD)
9494
9595IF (TRAVIS_BUILD)
96- SET (BUILD_TESTING OFF )
97- SET (DOWNLOAD_TOOLKITS OFF )
98- SET (BUILD_HEADLESS ON )
99- SET (BUILD_WITH_PYTHON OFF )
96+ IF (CMAKE_C_COMPILER_ID MATCHES "GNU" )
97+ SET (BUILD_TESTING OFF )
98+ SET (DOWNLOAD_TOOLKITS OFF )
99+ SET (BUILD_HEADLESS ON )
100+ SET (BUILD_WITH_PYTHON OFF )
101+ ELSE ()
102+ # try building everything with clang!
103+ ENDIF ()
100104 ADD_DEFINITIONS (-DTRAVIS_BUILD)
101105ENDIF ()
102106
You can’t perform that action at this time.
0 commit comments