Skip to content

Commit

Permalink
[travis] fix shorturl followup f3f5ea1
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 21, 2015
1 parent 3a379d0 commit 657c600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgis-test-travis.ctest
Expand Up @@ -57,7 +57,7 @@ ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES NUMBER_WARN
SET(ENV{TZ} "UTC-6")
EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE)
SET(RESULT_LINK "http://dash.orfeo-toolbox.org/index.php?project=QGIS&filtercount=1&showfilters=1&field1=buildname/string&compare1=63&value1=$ENV{TRAVIS_COMMIT}&date=${CDASH_DATE}")
EXECUTE_PROCESS(COMMAND curl -s http://tinyurl.com/api-create.php?url=${RESULT_LINK}
EXECUTE_PROCESS(COMMAND curl --data-urlencode "url=${RESULT_LINK}" -s http://tinyurl.com/api-create.php
OUTPUT_VARIABLE SHORTURL)

IF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
Expand Down

0 comments on commit 657c600

Please sign in to comment.