Commit 107be117 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: allow to skip testing from environment

No related merge requests found
Showing with 5 additions and 0 deletions
+5 -0
......@@ -68,6 +68,11 @@ if(NOT DEFINED IMAGE_NAME)
endif()
set (CTEST_SITE "${IMAGE_NAME}")
# Detect "skip testing"
if(DEFINED ENV{CI_SKIP_TESTING})
set(ci_skip_testing 1)
endif()
# Directory variable
set (CTEST_SOURCE_DIRECTORY "${OTB_SOURCE_DIR}")
if(BUILD_DIR)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment