Skip to content

Commit

Permalink
Revert "Temporarily disable Travis submission to cdash"
Browse files Browse the repository at this point in the history
This reverts commit 8c1675a.

Dash is back up.
  • Loading branch information
nyalldawson committed Feb 2, 2015
1 parent 4488065 commit ef8cf2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qgis-test-travis.ctest
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt
ctest_start(Experimental)
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES)
IF(NOT ${BUILDRES} EQUAL 0)
#ctest_submit ()
ctest_submit ()
MESSAGE( FATAL_ERROR "Build failed." )
ENDIF(NOT ${BUILDRES} EQUAL 0)
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL 2 RETURN_VALUE TESTRES)
IF(NOT ${TESTRES} EQUAL 0)
#ctest_submit ()
ctest_submit ()
MESSAGE( FATAL_ERROR "Test failed." )
ENDIF(NOT ${TESTRES} EQUAL 0)

#ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
# CDash on OTB requires the date to be set for the search to work and that's the timezone this requires
SET(ENV{TZ} "UTC-6")
EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE)
#MESSAGE("Test results submitted to\n http://dash.orfeo-toolbox.org/queryTests.php?project=QGIS&date=${CDASH_DATE}&filtercount=1&field1=buildname/string&compare1=63&value1=$ENV{TRAVIS_COMMIT}" )
MESSAGE("Test results submitted to\n http://dash.orfeo-toolbox.org/queryTests.php?project=QGIS&date=${CDASH_DATE}&filtercount=1&field1=buildname/string&compare1=63&value1=$ENV{TRAVIS_COMMIT}" )

0 comments on commit ef8cf2e

Please sign in to comment.