Skip to content

Commit

Permalink
Reduce test timeout to 60 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 22, 2016
1 parent fee3197 commit 921835f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions qgis-test-travis.ctest
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ SET (CTEST_BINARY_DIRECTORY "$ENV{TRAVIS_BUILD_DIR}/build")
#SET (CTEST_SOURCE_DIRECTORY /usr/src/QGIS)
#SET (CTEST_BINARY_DIRECTORY /usr/src/qgis-build)

SET( CTEST_CMAKE_GENERATOR "Unix Makefiles" )
SET (CTEST_CMAKE_COMMAND "cmake" )
SET (CTEST_BUILD_COMMAND "/usr/bin/make -j2 -i -k" )
SET (CTEST_SITE "travis-ci.org" )
SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")
SET (CTEST_CMAKE_COMMAND "cmake")
SET (CTEST_BUILD_COMMAND "/usr/bin/make -j2 -i -k")
SET (CTEST_SITE "travis-ci.org")
IF ($ENV{TRAVIS_PULL_REQUEST} STREQUAL "false")
# No pull request
SET (CTEST_BUILD_NAME "$ENV{TRAVIS_BRANCH} ($ENV{TRAVIS_COMMIT})")
ELSE()
SET (CTEST_BUILD_NAME "PR: $ENV{TRAVIS_PULL_REQUEST} / $ENV{TRAVIS_BRANCH} ($ENV{TRAVIS_COMMIT})")
ENDIF()
SET (CTEST_BUILD_CONFIGURATION "Release")

SET (CTEST_TEST_TIMEOUT 60) # 60 seconds

SET (INITIAL_CACHE "
BUILDNAME:STRING=${CTEST_BUILD_NAME}
Expand Down

0 comments on commit 921835f

Please sign in to comment.