mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Revert "Re-enable travis checks for build warnings"
This reverts commit 47b69c4801608ef20dabf7040ad39a480f6664e0.
This commit is contained in:
parent
5d7f54dd97
commit
75c9b069ee
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user