Skip to content
Permalink
Browse files

Revert "Re-enable travis checks for build warnings"

This reverts commit 47b69c4.
  • Loading branch information
m-kuhn committed Sep 6, 2018
1 parent 5d7f54d commit 75c9b069eee426bdb62934005351f1ab8e8eb807
Showing with 14 additions and 0 deletions.
  1. +14 −0 .ci/travis/linux/docker-build-test.sh
@@ -72,6 +72,20 @@ echo "travis_fold:end:cmake"
TRAVIS_TIME=120
UPLOAD_TIME=5
CURRENT_TIME=$(date +%s)
TIMEOUT=$((( TRAVIS_TIME - UPLOAD_TIME ) * 60 - CURRENT_TIME + TRAVIS_TIMESTAMP))
TIMEOUT=$(( TIMEOUT < 300 ? 300 : TIMEOUT ))
echo "Timeout: ${TIMEOUT}s (started at ${TRAVIS_TIMESTAMP}, current: ${CURRENT_TIME})"

# echo "travis_fold:start:ninja-build.1"
echo "${bold}Building QGIS...${endbold}"
timeout ${TIMEOUT}s ${CTEST_BUILD_COMMAND}
# echo "travis_fold:end:ninja-build.1"

rv=$?
if [ $rv -eq 124 ] ; then
printf '\n\n${bold}Build and test timeout. Please restart the build for meaningful results.${endbold}\n'
exit #$rv
fi

# Temporarily uncomment to debug ccache issues
# echo "travis_fold:start:ccache-debug"

0 comments on commit 75c9b06

Please sign in to comment.
You can’t perform that action at this time.