File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ matrix:
93
93
- os : osx
94
94
env :
95
95
- BUILD=osx
96
+ - IGNORE_BUILD_FAILURES=YES
96
97
97
98
git :
98
99
depth : 30
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ echo $PATH
2
2
3
3
export PATH=/usr/bin:${PATH}
4
4
5
- ctest -V -E ' qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsServer|ProcessingGdalAlgorithmsTest' -S ./qgis-test-travis.ctest --output-on-failure
5
+ ctest -V -E ' qgis_openstreetmaptest|qgis_wcsprovidertest|PyQgsServer|ProcessingGdalAlgorithmsTest|qgis_composerhtmltest ' -S ./qgis-test-travis.ctest --output-on-failure
6
6
Original file line number Diff line number Diff line change @@ -65,15 +65,18 @@ SET(RESULT_LINK "http://dash.orfeo-toolbox.org/index.php?project=QGIS&filtercoun
65
65
EXECUTE_PROCESS(COMMAND curl --data-urlencode "url=${RESULT_LINK}" -s http://tinyurl.com/api-create.php
66
66
OUTPUT_VARIABLE SHORTURL)
67
67
68
- IF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
69
- ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
70
- MESSAGE("")
71
- MESSAGE(" ${Yellow}Test results submitted to${ColorReset}")
72
- MESSAGE(" ${BoldYellow}${SHORTURL}${ColorReset}")
73
- MESSAGE("")
74
- MESSAGE( FATAL_ERROR " ${Red}Build failed. Not running tests.${ColorReset}" )
75
- MESSAGE("")
76
- ENDIF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
68
+ SET(IGNORE_BUILD_FAILURES $ENV{IGNORE_BUILD_FAILURES})
69
+ IF(NOT IGNORE_BUILD_FAILURES)
70
+ IF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
71
+ ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
72
+ MESSAGE("")
73
+ MESSAGE(" ${Yellow}Test results submitted to${ColorReset}")
74
+ MESSAGE(" ${BoldYellow}${SHORTURL}${ColorReset}")
75
+ MESSAGE("")
76
+ MESSAGE( FATAL_ERROR " ${Red}Build failed. Not running tests.${ColorReset}" )
77
+ MESSAGE("")
78
+ ENDIF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
79
+ ENDIF(NOT IGNORE_BUILD_FAILURES)
77
80
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL ${PARALLEL_LEVEL} RETURN_VALUE TESTRES)
78
81
IF(NOT ${NUMWARN} EQUAL 0 OR NOT ${TESTRES} EQUAL 0)
79
82
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
You can’t perform that action at this time.
0 commit comments